[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: cron to check ftp upload/download



You can try and use wget -mirror and the location location of the ftp server and the files. This will do a complete transfer of everything in the path specified. And do it every hour you can write a script to do the transfer and dump it /etc/cron.hourly
 
 
 
Albert Smith
Sr. Unix Systems Administrator
HPCSA, RHCT
Genex Services
440 E. Swedesford Rd.
Wayne, PA 19087
albert smith genexservices com
(610) 964-5154
 


From: redhat-install-list-bounces redhat com [mailto:redhat-install-list-bounces redhat com] On Behalf Of ajay chaudhary
Sent: Thursday, March 17, 2005 6:59 AM
To: redhat-install-list redhat com
Subject: cron to check ftp upload/download

  sir can you tell me:

we have a ftp server ftp://trivimtech.com on which our client put files for our work (50-200mb) and we have to fetch them frequently

i want it to do with wget and want to schedule it for 1hr , it automatically will go on ftp server , check what is left to download and if any new file it download it.

my folder on ftp:/trivimtech.com is "from macmilan"

and after finishing file work in our lab as we put it on our linx server (rh9.0) in "finished" it gets uploaded by itself in "to macmilan" folder on our ftp server.

is there any ready software for this purpose. and how should i use cron for this purpose. where i put it in crontab?

regards

ajay




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]