LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Access to one server via root/ssh/ftp on other only ftp (http://www.linuxquestions.org/questions/linux-newbie-8/access-to-one-server-via-root-ssh-ftp-on-other-only-ftp-781735/)

anthonychallis 01-12-2010 11:50 AM

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

David1357 01-12-2010 12:55 PM

Quote:

Originally Posted by anthonychallis (Post 3823907)
...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?

anthonychallis 01-12-2010 01:10 PM

Quote:

Originally Posted by David1357 (Post 3824009)
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

anthonychallis 01-12-2010 01:28 PM

I have now figured how to use the ftp but it keeps stoping on the PASV mode and crashing.. any ideas?

David1357 01-12-2010 02:23 PM

Quote:

Originally Posted by anthonychallis (Post 3824047)
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 09:23 PM.