Move Files After Download

Core FTP client questions and answers
Post Reply
ftpme
Posts: 8
Joined: Thu Aug 19, 2004 7:53 pm

Move Files After Download

Post by ftpme »

Hello all,
Using Core FTP, and downloading files to a server, I want to rename the [u]source[/u] files once they are downloaded. Currently we use a Template to connect to the FTP site and this is scheduled to run every hour. The probelm with this is we want to download ONLY new files in the ftp site not all the files during every run.

So the best bet would be to either rename the files on the ftp after each download or move the file to a different folder. we have complete rights on the ftp server(RWX..)

I tried to use the custom commands, [mv %1 /history_directory/]
but doesnt work. any ideas or suggestions greatly appreciated.

thanks
ftpme
Posts: 8
Joined: Thu Aug 19, 2004 7:53 pm

Doesn't move files

Post by ftpme »

I tried the RNFR/RNTO to move a file after its downloaded to my server, it didn't work.

here is the exact command I used in the 'Post Transfer Commands'
RNFR /main/outgoing/%1 RNTO /main/outgoing/Outgoing_History/%1

I did a manual download from the FTP server to my server
(right-click file->download)

any other suggestions will be appreciated.

thanks
ftpme
Posts: 8
Joined: Thu Aug 19, 2004 7:53 pm

RNFR doesn't work

Post by ftpme »

Hi all (CP)
I tried RNFR and RNTO commands as suggeted but the files did not move after transfer, I moved the files manually and also using the task scheduler. This is a SFTP site and I checked the 'Legacy Mode' in the advanced section. Can someone tell me what am I missing here?

Any other suggestions will be greatly appreciated.

thanks
ftpme
Posts: 8
Joined: Thu Aug 19, 2004 7:53 pm

Post by ftpme »

ok sounds good.

looking forward for the new build.


thanks much!
ftpme
Posts: 8
Joined: Thu Aug 19, 2004 7:53 pm

Post by ftpme »

Works Great, thanks for the prompt response.

Adios
Post Reply