LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-12-2010, 12:50 PM   #1
anthonychallis
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Thumbs down 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
 
Old 01-12-2010, 01:55 PM   #2
David1357
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
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by anthonychallis View Post
...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?
 
Old 01-12-2010, 02:10 PM   #3
anthonychallis
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by David1357 View Post
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 02:15 PM.
 
Old 01-12-2010, 02:28 PM   #4
anthonychallis
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I have now figured how to use the ftp but it keeps stoping on the PASV mode and crashing.. any ideas?
 
Old 01-12-2010, 03:23 PM   #5
David1357
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
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by anthonychallis View Post
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.
 
  


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
Ftp(through web site access to ftp server) kelper Linux - Software 3 01-11-2006 08:03 PM
setting up ssh with ftp access Digital Surgeon Linux - Networking 2 12-21-2005 09:14 PM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 06:17 PM
Only Root Login via ssh / ftp Lanmate Linux - General 2 12-23-2003 12:11 AM
Guy got root directory access from my FTP server... how can I fix this? bripage Linux - General 16 10-02-2002 11:12 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration