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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-12-2010, 11:50 AM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 5
Rep:
|
Access to one server via root/ssh/ftp on other only ftp
Hello people,
This is my first time posting on this forum and if i make any mistakes with my choice of words then I apologise in advance!
Ill get down to business basically, I have access to one VPS server which I have the full root,ssh + ftp passwords but on my other old server I have only got FTP access. I need the files from the 2nd server(the one with only ftp access) to be moved over to my new one with all access.
You may just be thinking, well just download and re-upload but unfortunatly there is over 5 gb of files and I dont have the time to upload it again!
Is there any solution that I can use through ftp on the 2nd server where I can tar up the file and use like a wget command on the new server with SSH access so that the two servers do the work rather than me having to download again?
Thanks
|
|
|
01-12-2010, 12:55 PM
|
#2
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep:
|
Quote:
Originally Posted by anthonychallis
...I have access to one VPS server which I have the full root,ssh + ftp passwords but on my other old server I have only got FTP access. I need the files from the 2nd server(the one with only ftp access) to be moved over to my new one with all access.
|
Can you not just use wget with the "-r" option to recursively download the files from the FTP server to the VPS server?
|
|
|
01-12-2010, 01:10 PM
|
#3
|
LQ Newbie
Registered: Jan 2010
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by David1357
Can you not just use wget with the "-r" option to recursively download the files from the FTP server to the VPS server?
|
If i log onto my shell and type wget -r http://domain.com/~urbeatz/kofblog
i want the whole dir to download but because its going through a http it wont download the whole dir and all the files.. Just get:
Connecting to domain.com|85.159.xx.xxx|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-01-12 13:09:51 ERROR 404: Not Found.
BUT
I can't connect using ftp://domain.com because now the domain has had its nameservers changed so i cant get it to work by connecting to the i.p address
Last edited by anthonychallis; 01-12-2010 at 01:15 PM.
|
|
|
01-12-2010, 01:28 PM
|
#4
|
LQ Newbie
Registered: Jan 2010
Posts: 5
Original Poster
Rep:
|
I have now figured how to use the ftp but it keeps stoping on the PASV mode and crashing.. any ideas?
|
|
|
01-12-2010, 02:23 PM
|
#5
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep:
|
Quote:
Originally Posted by anthonychallis
any ideas?
|
Run wget with "-drc". The "-c" should allow you to continue any failed transfers. The "-d" turns on the debug output. If you still have problems, post the debug output here.
|
|
|
All times are GMT -5. The time now is 02:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|