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

There was one another question that was the same as mine but the answers were from 2010, so my question is: How can I download a folder as a whole and not a single file? I want to download my music folder from another computer. Is that in any way possible?

share|improve this question
I guess you need to specify "download". To you have an account on that other computer? Or just an internet adress? Which operating systems are involved? – xubuntix Nov 10 '11 at 15:33
From another computer but via what? FTP, SCP? – heartsmagic Nov 10 '11 at 15:34
Btw... if you can download 1 file you can also zip your folder and download that file (since you made it into 1 file ;-) ) – Rinzwind Nov 10 '11 at 15:39

Some methods (click the links for more information):

  1. ssh
  2. ftp
  3. transmission a torrent (with a private tracker)
  4. NFS (mounting a directory).
  5. rsync
  6. Samba
  7. On-line services (U1, mediafire etc).

If you have acces to both machines NFS might be the best option.

share|improve this answer
+1 for suggesting NFS as the best option – Bruno Pereira Nov 10 '11 at 15:49
You should add Samba :) (I know the other person mentioned it) with a link as well. BTW sorry I didn't vote - I have to wait 8hrs for a reset. – RolandiXor Nov 10 '11 at 15:50
Samba is for the weak! – Bruno Pereira Nov 10 '11 at 16:20

There are a couple of ways to accomplish this. One is to mount the remote directory. This can be done via samba shares (if the remote host is running windows this is quite simple). If the remote host is running Linux then you could either mount the remote directory using sshfs or simply connect to it with an FTP client such as filezilla (filezilla can be set to connect over ssh which is often simpler) and download the entire directory that way.

share|improve this answer

Using command line utility scp (which requires openssh-server is installed on the remote system and openssh-client is installed on your system) you can copy a remote directory and all its files (and subdirectories), if you can log into that remote system with appropriate privileges, as follows:

Let's say you know, for the remote system, the ip address, a username/password, and the path to the folder on the system. Let's assume:

  • ip address:
  • remote username is: joe
  • that user's password is joepassword
  • the path to the folder on the remote system is /home/joe/thefolder

Top move that folder to your current drectory:

scp -r joe@10.0.01:/home/joe/thefolder .

Enter the password when prompted and the folder is copied.

Note the period (".") on the end, which means scp to the current directory

share|improve this answer

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.