WinSCP.com use option batch continue

Advertisement

DonKnacki
Joined:
Posts:
2

WinSCP.com use option batch continue

I have an error while transfering some files (even by using WinSCP GUI)
Copying files to remote side failed.
Failure reading network stream.

However file is well transferred! But it stops the other transfer. So I would like to skip such error.

I found that I should use option batch continue but I don't understand how?

Here my bat file script:
"C:\Program Files (x86)\WinSCP\WinSCP.com" /command ^
    "open ftps://****@****  -explicit -certificate="***" -rawsettings MaxTlsVersion=12" ^
    "cd /ftpdir" ^
    "put C:\DATA" ^
    "close" ^
    "exit"
C:\DATA is a folder with some files that I want to transfer to my FTP.
How can I add option batch continue?

Reply with quote

Advertisement

DonKnacki
Joined:
Posts:
2

I finally understand that it is a command to do directly in WinSCP command
so very easy to add it:
"C:\Program Files (x86)\WinSCP\WinSCP.com" /command ^
    "open ftps://****@****  -explicit -certificate="***" -rawsettings MaxTlsVersion=12" ^
    "option batch continue" ^
    "cd /ftpdir" ^
    "put C:\DATA" ^
    "close" ^
    "exit"

Reply with quote

Advertisement

You can post new topics in this forum