Saturday, January 15, 2011

Sync a FTP folder locally

I have several images uploaded worth 1GB on the remote server that I want to download locally, but not continuously.

I tried using rsync reading its (excellent) man page but found repeated protocol issues and gave up. (There is some problem with rsync when bashrc is changed. I cant in good mind edit or change my bashrc just for this.)

What are the other alternatives to sync a folder unidirectional, but incremental.

FYFI, the following is the rsync command I used

rsync -e ssh -avz user_name@ftp.imcruis.in:chikmaglur-trip Desktop/Malnad2/
  • Well, you could just work with wget --continue --mirror.

    becomingGuru : Exactly. But how. Thanks in advance!
    From towo
  • export RYSNC_RSH=ssh rsync -avz user@:

    If that does not work, what is the error you get?

    From Jason Tan

0 comments:

Post a Comment