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

Author Message
Sasidharan9513
[View user's profile]

Joined: 2012-11-08
Posts: 11
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
How would WinSCP identify "fully available files"?
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License