Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

sjerome

Hi Prikryl,
Thanks again for your help. I will investigate creating the scripts for this.

Cheers,

Simon
martin

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.
sjerome

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
martin

Re: Automate prompt

You should use synchronize instead of put.
sjerome

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