cron to check ftp upload/download

ajay chaudhary ajay197947 at rediffmail.com
Fri Mar 18 12:01:42 UTC 2005


  
can u tell me a little sort of script line that i will put in.

wget ftp://tivimtech.com/*.* .......rest i do not know
how will i specify user name and password ? and will *.* download all file of ftp server in any folder?

rgds

ajay

On Thu, 17 Mar 2005 Smith,Albert wrote :
>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 at genexservices.com
>(610) 964-5154
>
>
>
>________________________________
>
> 	From: redhat-install-list-bounces at redhat.com
>[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of ajay
>chaudhary
> 	Sent: Thursday, March 17, 2005 6:59 AM
> 	To: redhat-install-list at 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
>
>
>
>
> 	 <http://clients.rediff.com/signature/track_sig.asp>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20050318/9b7a22df/attachment.htm>


More information about the Redhat-install-list mailing list