Topic "growing file behavior"

Author Message
[View user's profile]

Joined: 2012-04-05
Posts: 2
We are looking to script WinSCP to get files from our SFTP server on a recurring schedule (every 2 minutes). If another user at a different location is simultaneously uploading a file and that file is growing, how does WinSCP handle that? Will it wait for the file to finish growing? Or will it proceed with downloading the incomplete file? (and then fail the deletion of the incomplete source file?)

Thank you in advance for any info.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
It's rather a question for your SFTP server provider. But in general the answer would be that it will download the incomplete file.

You can make the user uploading the file upload it to a temporary name, either explicitly or automatically:
and make sure you won't be downloading the temporary files (using exclusion mask).
Martin Prikryl
[View user's profile]

Joined: 2012-04-05
Posts: 2
We aren't able to control the application that users will be uploading files with. Thanks for the suggestions though!

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License