Topic "Mirror FTP server with Main Folder"

Author Message
[View user's profile]

Joined: 2014-02-09
Posts: 4
Location: Malaysia
Good day,

I have created this script.
And it works well.
option batch on
option confirm off
option reconnecttime 30
open ftp://ga:abc@
lcd "C:\Global"
put *
But the result is not as I wanted.

The main usage of this is to put "Global" folder into FTP server.
Can I know how what I need to change in order to Mirror FTP folder to "Global" folder?
Meaning if abc.txt is deleted from "Global" folder, FTP folder is also deleted.

Thank you in advance.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
You are looking for synchronization.
Use synchronize remote -delete command:
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License