Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to set-up a home file server. I'm thinking about just setting it up as an FTP server, no particular reason other than I'm familiar with FTP and samba tends to be very frustrating.

Basically the set-up I'm going for, is to be-able to create multiple user accounts for the server and restrict or allow access to specific folders on each user. FTP is the only way (that I know of) to accomplish a set-up like that.

How can I mount an FTP server as a drive in Ubuntu so that all my applications can access it just like any other driver or folder. An example would be downloading 12.10 via torrent when it comes out, I would like to be able to tell transmission to just download the file straight to my ftp server. I know how to do this in Windows, its actually very easy. But I cant figure it out in Ubuntu. I have tried using the "connect to server" option in nautilus, and it works, but it doesn’t give me the result I want, most applications don’t see the folder, while others can.

Also I am open to options other than FTP if anyone has any suggestions. I've looked into FreeNAS but that doesn’t seem to allow me to control the user accounts the way I want to. Then after all is said and done I would still need a way to mount the shares as a drive in Ubuntu.

The ability to mount network drives in windows is one of my favourite features, but seeing how Ubuntu is now my daily OS and has been for about 4 years, I really need a way to accomplish the same thing in Ubuntu. Also a GUI would be preferable, seeing as there will be multiple people using this server, I would like it to be as easy as possible.

EDIT: this link here seems to be almost exactly what I'm wanting to do, if I could find a GUI that can do this ill be almost set. then I would just need to find a way to hide specific folders from certain users.

share|improve this question

5 Answers 5

OK, i found it easy.
1. Go to desktop when logged in Unity.
2. Click on the top bar and select 'file'
3. Select 'Connect to server'
I think it is, what you are looking for. It's polish, but its here in every language

share|improve this answer
sudo apt-get install curlftpfs

in terminal mount ftp resource:

curlftpfs [user@]host:[dir] mountpoint [options]

or in /etc/fstab:

curlftpfs#ftp.host.com /mnt/host fuse rw,uid=500,user,noauto 0 0 
share|improve this answer
    
Even though, curlftpfs is not being maintained at the moment, so far is the "recommended" method for mounting FTP resources. This guy claims to have made a GUI for curlftpfs, sourceforge.net/projects/gcurlftpfs . I've not tried it yet. The Arch Linux Wiki has more info about it: wiki.archlinux.org/index.php/Mount_FTP –  Jose Elera Campana Jan 12 '13 at 19:31

For mounting a networkdrive I use Smb4k. This program scans the network, it allows you to mount a map. It wil create in your homefolder a folder smb4k with subfolders/

For example: i have a iomega media network drive with several maps on it like music, video and a backup location.

For adding the music collection to a music player you go to /home/user/Smb4k//music. For creating a backup with deja dup choose for the backup-location: > local folder: > /home/user/smb4k//back-up/dejadup

http://sourceforge.net/projects/smb4k/

share|improve this answer

If you have ssh to this device you can use sshfs IP:(folder to mount) (point to moint) eg.: sshfs 1.1.1.1:/ /media/drive1 I don't know way to do it via ftp.

share|improve this answer
    
are there any GUI solutions to accomplish this? I really don’t care what protocol I use, just so long as I can manage different users, and mount it as a network drive. Oh and of course cross platform, mainly Windows and Linux, but I will have a Mac here in the next few months as well. It's not that I mind using the terminal, but I'm trying to make it easy for several other people in my home who are still new to Ubuntu, and guests aswell. –  Relik Oct 13 '12 at 20:55
    
for the old Ubuntu: Go to the Places menu in gnome and click “Connect to Server”. Select the right type of FTP server (public or private) and click Connect. From there it's drag and drop. If you need the command line, do the above and then in your terminal look in ~/.gvfs/. The FTP server gets mounted as a subdirectory in there. –  jet Oct 13 '12 at 23:42
    
This answer is exactly what I was looking for. Thank you. –  danns87 Mar 18 at 18:34

I found a program in the software center called Gigolo, it does exactly what I want as far as mounting the shares on boot. As far as the shares being available to all applications, there is a folder called ".gvfs" in the home folder, I created a bookmark in nautilus to that folder, then named the book mark what ever I wanted. These two things allowed me to do exactly what I wanted to do and it was pretty painless.

share|improve this answer

Your Answer

 
discard

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.