ftp downloading on a distant server
hello,
i am kind of a n00b when it comes to linux so i hope you guys can help me. I have a box where i go tno phisical acces, only a ssh prompt. and i want the box to download something from another box (don't have any acces there). the files must be downloaded trough ftp. I also want the files to be stored at a place of my choosing. if anybody can help me with this i am verry happy. thnx in advance |
do you have an FTP account on the other server ?
if so, you can do something like this: from the SSH host: cd to the place of your choosing ftp (other-host) (put username and password) cd (path to file) bin (if it is a binary file) hash (if you want to see the progress) get (filename) bye (to end connection) |
thnx jalal for the help but........it doesnt seem to work:S:S
i type this at my shell once i have logged in: ftp [enter] the other box's ip [enter] after this i get an error message, can someone help me out here? |
ftp [other machine address] [enter]
|
does it matter that i dont have a hostname, only an ip adress. becouse when i type it in my shell it doesnt respond afterwards i can type ect but it just doesn't respont to command's :S but how do i connect to another port becouse the box listens to port 6969
|
ftp IP-of-host 6969
|
never mind, i am connected now thnx for the replies.
so i am connected now but i want to change to directory with a space "site backup" but when i type cd site backup it says "/site no such file or directory" i hope you can help me(again :)) with this last question |
cd "site backup"
or cd site\ backup |
All times are GMT -5. The time now is 06:35 PM. |