LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-22-2006, 11:20 PM   #1
dad1001
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?
Thanks
-d
 
Old 07-23-2006, 12:42 AM   #2
Micro420
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

Code:
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-23-2006 at 12:49 AM.
 
  


Reply

Tags
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 03:50 AM
cron job to send file via ftp every 1 hour mcalizo Linux - Newbie 1 07-14-2004 04:50 AM
Cron job rajasekarvr Linux - General 4 05-03-2004 06:35 PM
howto delete files via ftp from cron job ? cccc Linux - Networking 2 01-31-2004 07: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 11:03 PM


All times are GMT -5. The time now is 11:41 AM.

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