Automate prompt

Advertisement

sjerome
Joined:
Posts:
3
Location:
UK

Automate prompt

Hello All,
I am new to WinSCP and new to scripting so please bear with me!!

Below is the script that I have created:

option confirm on
option include "*.spf; ?_VOL-b???.md5; *-cd.spi; *-cd.md5;"
open ftp://sr01:sr01@192.168.100.132
put \\192.168.100.140\serverrescue\*.* / -resume

This will prompt to to Overwrite any files which are already there. How do I automate this to say N(o) to All?

Thanks for your help,

Simon

Reply with quote

Advertisement

sjerome
Joined:
Posts:
3
Location:
UK

Hi Prikryl,
Thanks for the reply. What I forgot to mention is that we need the resume feature as the size of files we use can be well over 1GB.

Cheers,

Simon

Reply with quote

martin
Site Admin
martin avatar

Than your only option is to implement synchronization yourself. I.e. run WinSCP to list remote directory, compare the list against local directory and generate upload script with only the files your want to upload.

Reply with quote

Advertisement

You can post new topics in this forum