Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I download a file or directory that is on a remove server? (note: there is no ftp setup on the server, is it possible to do this w/o having to install anything on the server?)

share|improve this question
remove = remote? – Thomas Nov 6 '11 at 21:19
Wow... what a vague question. We need more details. If the server is already running Samba or a SSH daemon then it may be possible if you know the login credentials. What's the server Operating System to begin with? – devius Nov 6 '11 at 21:22
up vote 2 down vote accepted

The scp answer is a good one and should work just fine if it is a small amount of files that you need transfered but if it fails or you have to stop the transfer you can use rsync. The command would look like this rsync -rP -e ssh username@serveraddress:"directory/file" /destinationfolder/ the r is for recursive downloads if you need a folder, the capital P is so that you can resume what had failed or been stopped prematirely and the e ssh tells rsync to comunicate over ssh. Hope that this helps.

share|improve this answer

If the server is running SSH, you can use scp.

As scp user@host:directory/SourceFile TargetFile

If the server is not running SSH, you can install a web server or a FTP server on the server. Examples of web servers are Apache and Lighttpd. Example sudo apt-get lighttpd then place the files in /var/www/ and get them with wget

share|improve this answer

Something you need on the other server. Normally a ssh-server should be available. So you can use sftp to get files or directories (man sftp).

share|improve this answer
If you want a graphical SFTP client, you can use FileZilla. sudo apt-get filezilla. – Anonymous Nov 6 '11 at 21:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.