Automatic Synchronisation of FTP directory

Terry Allen hmag at ozemail.com.au
Sat Jul 14 23:57:22 PDT 2007


>Have you tried lftp? (http://lftp.yar.ru/) You 
>can install it with DarwinPorts (perhaps fink 
>also).
>
>I use it daily to sync data from and to ftp 
>servers. The options are endless, but for you 
>needs the following syntax might do the job:
>
>lftp -e "o -u username,password 
>ftpsite.com/address && mirror --delete --verbose 
>&& quit"
>
>Stephan
>
>Le 14 juil. 07 à 11:49, Terry Allen a écrit :
>
>>Hi again,
>>	I have a slightly unusual taks to get 
>>done as a temporary backup solution for a 
>>client - they have 3 separate sites, all with 
>>hardware based NAS, which have Windows file 
>>sharing & FTP. We need to set up an automated 
>>system, with an OSX machine doing a directory 
>>sync every day for a few weeks from the FTP 
>>server running on the NAS (no, rsync or other 
>>options aren't available - must be FTP).
>>	Can anyone suggest say a command line I 
>>can add as a cronjob, or some open source 
>>software which might allow us to do this? It 
>>basically needs to log into the FTP server as 
>>the username/password, check the list of files 
>>(& any changes to those files) & back up those 
>>which have changed, then log back out once the 
>>job is completed.
>>	Any assistance would be appreciated on this.


Hi again,
	Many thanks for that Stephan - I don't 
have Fink installed & have no plans to, but I may 
be able to compile it from source to test if it 
will do what we need to do.
-- 

	Bye for now, Terry Allen 
	___________________________________________________________________
hEARd

Postal Address:
	hEARd, 26B Glenning Rd,	Glenning Valley, NSW 2261, Australia
Internet -
	WWW: http://heard.com.au http://itavservices.com
EMAIL: hmag at ozemail.com.au
Phone: Australia - 02 4388 1400 / International - + 61 2 43881400
Mobile: Australia - 04 28881400 / International - 61 4 28881400
-----------------------------------------------
Non profit promotion for new music - since 1994
-----------------------------------------------


More information about the MacOSX-admin mailing list