Move file on FTP server

Core FTP client questions and answers
Locked
T0bster
Posts: 4
Joined: Mon Jul 16, 2018 7:10 am

Move file on FTP server

Post by T0bster »

Hi,

I am uploading a file to an FTP server from where it is being automatically processed. It has been suggested that I upload my file to a subfolder on the FTP site, and then move it to the root folder once the upload is complete, in order to prevent the partial file being processing on the FTP site.

I know how to move files using scripts on my local drives, but not on the FTP server. Is this possible?

Many thanks,
Toby
ForumAdmin
Site Admin
Posts: 989
Joined: Mon Mar 24, 2003 4:37 am

Re: Move file on FTP server

Post by ForumAdmin »

coreftp.com/forums/viewtopic.php?f=2&t=11949&hilit=RNFR

use RNFR/RNTO to move from a temp directory to the upload directory after transfer.
T0bster
Posts: 4
Joined: Mon Jul 16, 2018 7:10 am

Re: Move file on FTP server

Post by T0bster »

Thanks for your reply. That's really helpful.

Toby
Locked