Automatic Synchronisation of FTP directory

Dan Shoop shoop at iwiring.net
Sun Jul 15 17:30:40 PDT 2007


At 7:58 AM +1000 7/16/07, Terry Allen wrote:
>>On 14-Jul-2007, at 15:42, Terry Allen wrote:
>>>I'm not sure I understand how I could use rsync for such a purpose 
>>>- I thought rsync required an rsync client & server - could you 
>>>please elaborate on how we would use rsync for such an exercise 
>>>using SMB.
>>
>>Rsync can go between any tow directories, be they rsync server, ssh 
>>logins, smb mounts, nfs mounts, or even directories on the same 
>>local volume.
>>
>>If you really really can't use rsync, you are going to be spending 
>>a ton of time trying, and failing, to replicate rsync capabilities 
>>for your ftp.
>>
>Hi again,
>	Thanks for the info - as mentioned in an earlier email, I 
>wasn't aware that rsync could be used for anything other than an 
>rsync client/server relationship

rsync syncs filesystems, be they remote or local. There is a concept 
of a source and a target and the target can be another host. Normally 
in that case ssh is used as the shell. It can also be used, as you 
suggest, as a true client with an rsync server, but this is just a 
special case of other operating modes.

>  - I will investigate this possibility. Would it be possible to use 
>rsync with an ftp server or is this asking too much.

Yes, I believe I mentioned this. Since rsync syncs filesystems you 
just need a FTP filesystem, like that provided by FUSE, etc.

>	Another suggesion also in this thread has mentioned lftp - it 
>seems to offer what is needed with FTP, so I will check out both 
>options here.

-- 

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
shoop at iwiring.net                                http://www.iwiring.net/
1-714-363-1174


More information about the MacOSX-admin mailing list