Jump to content

Recommended Posts

Posted

I have SSH enabled on my account but i'm new to it. I was told that wit SSH i could transfer from another ftp to my TCH account. I've looked around for tutorials and such and i came across one. I tried one.

 

scp user@anotherftpip:/directroy/file.zip localhost:/directory/file.zip

 

It then asked me for anotherftpip's password: i tried to enter it but the cursor wouldnt' move so i entered what it should have been and pressed enter. It failed i tried a bunch of other things but it didn't work.

 

Does anyone know of any tutorials i could read on the matter?

I tried askin helpdesk but all they said was they don't help with that :)

Posted

open 2 SSH shells, 1 for your old host, 1 for TCH. first you will have to tar the files on the old server.

 

>> cd public_html/
> tar -cvf mywebsitearchive.tar *

 

then, while logged into TCH SSH, you need to do the following:

 

>> cd public_html/
> ftp your.old.webserver.com
Connected to your.old.webserver.com (111.222.333.444).
Name (your.old.webserver.com:TCHusername): here_put_your_old_username
Password: here_put_your_old_password

 

you now have an ftp connection to your old remote site. then all you need to do is do this:

 

>ftp> cd public_html/
ftp> binary
ftp> get mywebsitearchive.tar 
ftp> bye

 

and it will put the file in your directory on TCH from where you called the ftp program - now back to the TCH server.

 

>> ls -lrt

 

and you will see the tar file. untar it

 

>>tar -xvf mywebsitearchive.tar

 

and you should be good to go.

 

hope that helps,

 

chuck

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...