LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2003, 05:17 PM   #1
husker
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
How do I ftp between linux servers?


I just got a new host. Both are dedicated machines that I have full root with, and both are using redhat 7.3. I have about 800megs worth of files I need to get on the new host, and it takes forever uploading at 32kb/sec. I have heard it is possible to ftp from one server to another, how is this done?

Thanks!

P.S. You can post here or email me at husker15@cox.net
 
Old 08-30-2003, 05:20 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You have to setup the server that you want to get the files off of as an ftp server. Then you can ftp from the client machine to the server and download whatever files are available in the ftp directory. Their are a lot of ftp packages out there. I'd suggest doing a search on this site for ftp server. Their are a lot of threads about installing and configuring an ftp server.
 
Old 08-30-2003, 06:17 PM   #3
husker
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I think it already has FTP on it, and I can ftp from the client to the host server, I just dont know the command to get the files..
 
Old 08-30-2003, 09:18 PM   #4
iphoting
LQ Newbie
 
Registered: Mar 2003
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by husker
I think it already has FTP on it, and I can ftp from the client to the host server, I just dont know the command to get the files..
get *
 
Old 08-30-2003, 09:34 PM   #5
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
What you will probably want to do is create a tarball of your 800 MB of files, ftp the tarball between systems, and then untar the files on your destinations system.

To create a (compressed) tar ball invoke:
tar -cvzf mytarball.tz myfiles.or.directory

To see what is in the tarball invoke:
tar -tvzf mytarball.tz

To extract the files from the tarball invoke:
tar -xvzf mytarball.tz

To start your ftp session invoke:
ftp <ftpserver>

After you login you can see the available ftp commands by typing ?

get <filename> brings files from the server to your client machine

put <filename> moves files from the client to the server
 
Old 08-30-2003, 10:20 PM   #6
LinuxTiro
Member
 
Registered: Aug 2003
Posts: 59

Rep: Reputation: 15
i think if u use
mget <filename>
and
mput <filename>
instead of get it would be better.
 
Old 08-31-2003, 02:53 AM   #7
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
idaho's instructions probably what you want to use. The only thing that I would add is to use the -p switch to preserve the permissions of the files when extracting the files.
 
  


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
Looking for ftp ability between the two Linux servers. vivaspeed Linux - Enterprise 5 07-29-2005 08:09 PM
FTP Servers grahammm Linux - Software 1 08-02-2004 08:15 AM
FTP Servers booya72 Linux - General 3 02-16-2004 10:02 AM
FTP Servers torman89 Linux - Software 3 11-30-2003 08:36 PM
FTP and Web Servers xtremcoder Linux - Networking 2 06-16-2003 09:14 PM


All times are GMT -5. The time now is 06:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration