cron to check ftp upload/download

Rick Stevens rstevens at vitalstream.com
Thu Mar 17 17:15:13 UTC 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

Also have a look at ncftpget (comes with the systems).  It is an FTP
client specifically written for use with scripts (and hence, cronjobs).

By the way, Albert, we prefer bottom posting here on the list.

>     ------------------------------------------------------------------------
>     *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> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe


-- 
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    I don't suffer from insanity...I enjoy every minute of it!      -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list