Locking File when uploading / downloading
I am using the .Net library to upload/download files.
I *believe* this is the issue I am seeing:
When I use Session.GetFiles(...) it does not appear to lock the file when writing. As a result, I have another application (namely, BizTalk's File Adapter), picking up the file before WinSCP has finished writing it.
My Question to confirm is -- does WinSCP support file locking when downloading/getting? and likewise, when uploading?
I am using SFTP... currently from a UNIX FTP server to Windows machine. However, I will also be uploading from Windows Machine to either/both Unix/Windows as well.
Thank you.
I *believe* this is the issue I am seeing:
When I use Session.GetFiles(...) it does not appear to lock the file when writing. As a result, I have another application (namely, BizTalk's File Adapter), picking up the file before WinSCP has finished writing it.
My Question to confirm is -- does WinSCP support file locking when downloading/getting? and likewise, when uploading?
I am using SFTP... currently from a UNIX FTP server to Windows machine. However, I will also be uploading from Windows Machine to either/both Unix/Windows as well.
Thank you.