Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-22-2006, 10:20 PM   #1
LQ Newbie
Registered: Jun 2005
Location: Quincy Ma USA
Distribution: suse10
Posts: 9

Rep: Reputation: 0
FTP cron job

Hey All!

I want to set up a cron job to get the latest files from a corporate tech support ftp site. This site is updated daily and it contains a bunch of directories. I would like to be able to automate this job to get the directories and files when I'm sleeping, and not download duplicate files.
Can it be done?
Old 07-22-2006, 11:42 PM   #2
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
you could set up a little script using the wget command and put that in the cron job

wget /home/yourname/path ftp://user : pass@myserver/mypath/pr0nfile.ext
(I had to space the user : pass because I kept getting a happy face, like this: userass)

Just a thought

Last edited by Micro420; 07-22-2006 at 11:49 PM.


cron, ftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP cron job seems to be sending OLD data dagalicous Linux - General 9 02-28-2006 02:50 AM
cron job to send file via ftp every 1 hour mcalizo Linux - Newbie 1 07-14-2004 03:50 AM
Cron job rajasekarvr Linux - General 4 05-03-2004 05:35 PM
howto delete files via ftp from cron job ? cccc Linux - Networking 2 01-31-2004 06:49 PM
Can I make a Cron job to synch/transfer a file from a folder to another FTP?... read efishta Linux - General 6 07-19-2003 10:03 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration