will WINSCP process only the fully available file - GET cmd?

Advertisement

Sasidharan9513
Joined:
Posts:
11

will WINSCP process only the fully available file - GET cmd?

Hi There,

Below is my script which copy/delete the files from the Linux server to windows server.

option batch abort
option confirm off
open sftp://username:password@servename
cd download_test
get -delete *.pdf E:\Images\
close
exit

while I try to run the above script, I am getting some corrupted files on my windows server after the download process.

Reason:
-------
One of our process tries to write file to the linux folder and at the same time the WINSCP tries to copy the file to the windows server this the reason that I am getting a corrupted file.

How to restrict the WINSCP to copy only fully available files?

Regards,
S.Sasidharan

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum