mastaflex Posted April 15, 2003 Posted April 15, 2003 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 Quote
KevinW Posted April 15, 2003 Posted April 15, 2003 What is your goal? To move your files from one web site to another? or something else? -kw Quote
mastaflex Posted April 15, 2003 Author Posted April 15, 2003 correct to move files DIRECTLY from another ftp to my TCH account. I don't want to download then upload Quote
chuckmalani Posted April 16, 2003 Posted April 16, 2003 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 Quote
mastaflex Posted April 16, 2003 Author Posted April 16, 2003 thanks for the help chuck. I just tried it out but i seem to get a error message every time i try local: websitearc.tar Permission Denied. Quote
chuckmalani Posted April 16, 2003 Posted April 16, 2003 at what point are you getting that error? chuck Quote
chuckmalani Posted April 17, 2003 Posted April 17, 2003 log into your old server and do an >ls -lrt in the dir with the tar file, and post the results here. you can AIM me at FSUchucky3 if you want to... chuck Quote
mastaflex Posted April 17, 2003 Author Posted April 17, 2003 finally got it to work. i had to get to public_html but i had to do cd home and cd domainname first Thanks a lot for your help chuck. -Jason Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.