Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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..
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.