How do you set up an FTP server using a NAS device?

I'm sure this question has been answered before. I run a small graphic design business from my home. Occassionly clients want to send me files and ask if I have an FTP site they can upload to. I recently purchased an NAS enclosure and added a 250 GB HD in it. It's hook up to a Linksys router. I can attach to it using the GO menu using "smb://STORAGE". It appears on the desktop. I have Comcast as my broadband service with a dynamic DNS. I have 2 folders on it, one password protected and the other a Public folder. I would like someone to be able to access the Public folder and upload and download files on it. Would someone be able to explain, in simple terms, how to set this up.

PM G5 Dual 2.0 (May 2005), Mac OS X (10.4.8)

Posted on Oct 12, 2006 5:39 AM

Reply
2 replies

Oct 12, 2006 7:28 AM in response to Tom DePrenda

Well you actually need to have an ftp server running somewhere. I dont know (although i doubt it does) if your NAS has an embedded FTP or SFTP server. If it dosent youll actuall have to have people connect to one of your servers/workstations that has FTP enabled.

First youll need to log in to your router's admin panel and forward port 21 to the server/workstation that will function as the ftp server.

Then set up the mount for the NAS device at large or one of the specific folders on it with sharepoints or something on the mac that will act as the ftp server.

Set up a user as a FTP only user. Youll probably want to make this user only have FTP access (you can google or consult other threads in these forums for this procedure).

In this users home folder make symlinks to the shares with the command line:

cd path to_ftpusers_homedir

ln -s /Volumes/NAS_Sharepoint NameOfFolderUserWillSee


Then create the file /etc/ftpchroot which will contain a list of users that will be limited to thier home directory when using ftp. i would use a command line text editor to do this (pico, vi, emacs... choose your poison).
the file should simply be a list of user shortnames, 1 per line.

Thats the basics of it. You can get more complicated and might indeed need to set up permissions and what not properly (youll probably want to use ACLS so you dont have to constantly change permissions or login as another user to access files that have been uploaded)but that should get you started i think.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do you set up an FTP server using a NAS device?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.