Topic "Script Synchronization"

Author Message

I am trying to sync my server files to a local PC but keep getting "Nothing to synchronize" Where am I going wrong?

# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Exclude files that I don't care about
# option exclude "*.db; *.ini; *.tmp;"
# Connect to the server (replace with your username, password, domain)
open "eaglerising (LAN)"
# Do the work
synchronize local -mirror -delete -nopermissions f:\server-backup\file-backup /HDD-1000-1
# Close and exit
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
Location: Prague, Czechia
Can you list both directories before "synchronize" and post an output here?

lls f:\server-backup\file-backup
ls /HDD-1000-1
synchronize local -mirror -delete -nopermissions f:\server-backup\file-backup /HDD-1000-1
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License