Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to sync files to an FTP like WinSCP does on linux (continually checking for changes and uploading changed files). Is there such a thing?
I know of rsync but I don't think that triggering rsync every second is as productive as WinSCP.

share|improve this question
up vote 5 down vote accepted

I couldn't find any detailed information about "WinSCP continually checking for changes and uploading changed files", but it's hard to believe that it would be more effective than rsync.

If you're looking for a near-real-time solution (i.e. an rsync cron job every minute is not enough for your purpose), something like lsyncd or rsync-inotify or pirsyncd would be suitable. Google "rsync inotify" for more options.

share|improve this answer

lftp was made for that kind of job. Specifically the 'mirror' option is used to keep two locations in sync. This is just a quick version (and unsecure, as it will show the username/password in ps) :

lftp -u user,password -e 'mirror --reverse --dry-run /source /destination' 

There are some examples here and it's easy to find other examples of automating/scripting it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.