LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2003, 12:00 PM   #1
amnesiac
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Rep: Reputation: 0
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

Last edited by amnesiac; 08-30-2003 at 12:17 PM.
 
Old 08-30-2003, 12:34 PM   #2
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
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)
 
Old 08-30-2003, 01:11 PM   #3
amnesiac
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 08-30-2003, 01:15 PM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
ftp [other machine address] [enter]
 
Old 08-30-2003, 02:19 PM   #5
amnesiac
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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

Last edited by amnesiac; 08-30-2003 at 02:23 PM.
 
Old 08-30-2003, 02:28 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
ftp IP-of-host 6969
 
Old 08-30-2003, 02:35 PM   #7
amnesiac
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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

Last edited by amnesiac; 08-30-2003 at 03:46 PM.
 
Old 08-30-2003, 10:18 PM   #8
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
cd "site backup"

or

cd site\ backup
 
  


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
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
RWFM?? Help for rolling my own download server ashembers Linux - Security 1 05-24-2004 05:21 PM
Fast Server for FC2 download hkctr Fedora 0 05-19-2004 10:16 AM
DHCP server Download Shals Linux - Networking 7 09-01-2003 02:25 AM
Server download util smurf Linux - Networking 1 12-06-2001 12:56 PM


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

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