I use the CoreFTP command line interface (build 1575) to upload files to a remote FTP server, using SSL (via a site profile).
The problem is, the client at the remote end sometimes tries to pick up files that haven't finished transmitting, and so their automated process fails.
I would like to send the files with a .tmp file extension (which the remote site ignores), and then rename them with a .txt file extension when the transfer has finished, which the remote site will then recognise and pick up.
I've seen some references to RNFR and RNTO commands in this group - would they be suitable for this task, and if so how would I include them in the profile? Or is there some other method that would stop the files being accessed until they were fully transmitted?
Many thanks for any assistance.
Renaming files on remote FTP server
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am