Topic "Skip all in script"

Author Message
foxbymariuss

Guest


Hello,

Kinda new to WinSCP.
I am using it to copy the content of a local folder to the server, automatically. For this I am running WinSCP and using a script.
The script is:

option synchdelete on
open user@backupserverIP
cd /var/backup/user
option transfer binary
synchronize remote "C:\Documents and Settings\%username%\My Documents" mydocs
exit


The problem is that sometimes some files are locked, and the sync prompts for Abort, Retry, Skip, Skip all. In this situation I would like the option to be Skip all without prompting. Does anyone know a way to do this from the script?


Thanks a lot.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
There's no way to do this from script.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Have you tried "option batch continue"?
_________________
Martin Prikryl
foxbymariuss

Guest


Hello,


"option batch continue" worked.
Really happy now.

Thanx a lot, prikryl !
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