Topic "How to Check the File lock status before download"

Author Message


Hi ,
Thanks for providing WinSCP tool to to our SFTP process easily

and i have been using this in SSIS to download files from SFTP .

But, sometime when the file is being written by source it was being downloaded partially .
I need some tips to find out the file lock status before i download and process ONLY the files are completed
Is it possible , if yes then how

thanks In advance
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26905
Location: Prague, Czechia
It's not possible. The only way is not make sure the "source" marks the file as partial somehow. E.g. using some file extension or by writing file to a temp location, only moving it to a download directory once done.
Martin Prikryl

You can post new topics in this forum


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