Post a reply

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)


Topic review


File sychronization and copy file after transfer


I'm using WinSCP for some little things, and here is my problem.

I use a script to syncrhonize a windows folder with a ftp folder and it works great.

Then, i want to copy the files just transfered to another local directory.

Is that possible?

Here is my code:

# errors without confirm

option batch on
option confirm off

# connect
open ...

# binary mode transfer
option trasfer binary

synchronize local ...

I open the script with this .bat: /console /script=winscp_recup.txt

So i need to add some things to copy the new file just synchronized, to another local directory

How can i do?

Thanks a lot