Temp Name For A File While Transfer Is In Progress?

Core FTP client questions and answers
Post Reply
BVH
Posts: 3
Joined: Mon Sep 22, 2008 4:49 pm

Temp Name For A File While Transfer Is In Progress?

Post by BVH »

I've been searching through the forums and the documentation on the website, but haven't turned up a clear answer to this question yet. If I missed something, I apologize.

I'm using CoreFTP to interact with a client that could potentially be transferring very large files. File transfer would be just one part of an automated process. Is there a way for CoreFTP to give a file a temporary name in the destination directory while a transfer is occurring, so that other applications will not be able to see the file until the transfer is finished?

For instance, let's say I'm downloading "largefile.txt" from a remote site. Can I configure CoreFTP to save the partial file as "largefile.txt.tmp" while the transfer is occurring, then give it back its original name as soon as the transfer is finished? This way, other applications looking for "largefile.txt" in the destination directory would not see it until the transfer has completed successfully.

Thank you for your help!

BVH
Post Reply