LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2005, 10:22 PM   #1
Anthraxnz
LQ Newbie
 
Registered: Sep 2005
Posts: 21

Rep: Reputation: 15
automated ftp


hi

can someone help me out with getting ftp to download then upload a file to a differnt site?

iv got a cron job to download the file.
00,30 * * * * ncftpget ftp.ban.co.nz/ /usr/games/hlds_l/cstrike/sbs 'pub/banfiles/sbs*.cfg'

now i need to know how i would upload it to a differnt ftp site.

thanks
 
Old 10-15-2005, 10:23 PM   #2
debianmike
Member
 
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
ncftpput
 
Old 10-15-2005, 10:29 PM   #3
Anthraxnz
LQ Newbie
 
Registered: Sep 2005
Posts: 21

Original Poster
Rep: Reputation: 15
o lol
thanks
 
Old 10-15-2005, 10:31 PM   #4
Anthraxnz
LQ Newbie
 
Registered: Sep 2005
Posts: 21

Original Poster
Rep: Reputation: 15
one more thing.

the server im uploading to has a password on it, how would i got about sending the user name and password to it?
 
Old 10-15-2005, 10:36 PM   #5
debianmike
Member
 
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
man ncftpput

something like ncftpput -u debianmike -p password or the like
 
  


Reply


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
Automated FTP Upload Zingaro2002 Linux - Networking 7 05-05-2004 02:38 AM
Automated Backup via FTP KePSuX Linux - Newbie 3 02-11-2004 09:25 AM
automated FTP backup josephswagner Linux - Software 2 06-06-2003 05:42 PM
automated response aizkorri Programming 0 04-24-2003 03:33 AM
Automated su script? elmetald00d Linux - General 5 04-09-2002 12:17 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration