Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to setup FTP Server in Win2k 2

Status
Not open for further replies.

Cilantro

Technical User
Feb 6, 2001
3
US
Hello,

I'm new to Win2k and I'm fairly new to setting up an FTP server. I was given a machine with Win2k on it (at work) and it does not have the FTP Service set up on it. When I attempted to turn on the FTP service, it told me it was not installed. Is there a way to install this component to the IIS without having to uninstall/reinstall IIS?

Also, can anyone give me a quick guide on how to set up FTP in Win2k to allow for one specific user to connect to just one file for downloading files? I've a client who needs access to files and FTP was recommended to me as being a secure way of doing this (as I have a Win2k server).

Your help would be greatly appreciated. Please send replies to jeff_wilson@onebox.com
 
Control Panel -> Add Remove Programs -> Add/Remove Windows Components. Choose Internet Information Services and click 'Details'. Add the FTP service. Have a cd handy.

Choose the defaults for setting up the FTP service.

Administrative Tools -> Computer Management -> Local Users & Groups. Create a new user for your client. Next, doubleclick that user in the list and go to the profiles tab. Under HomeFolder: LocalPath, enter the following: 'c:\inetpub\ftproot\%username%'. Click Apply. This will automatically create a homefolder for the user in the FTP area, and when the client connects via FTP, he will land right in that folder, where you can put that file you have in mind. You might want to set permissions on the ftproot folder to keep the user from going up a directory and getting into it, but doublecheck the client directory's permissions afterwards to make sure that he still has access to it. Obviously, you can test the FTP all you want before actually telling the client it exists.
 
ShackDaddy,

One question for you: Once the FTP server is set up, what becomes the ftp address? The IP of the machine? The URL?

Does one have to include /ftproot/<directory> in this?

Thanks again, your previous post was very helpful.
 
If you run the Internet Services Administrator, you can then get Properties on the FTP site you just created. On the first tab, labelled 'FTP Site' you should have an entry called IP address. This will tell you what your IP is. If you have more than one IP address bound to the server, you will have a drop-down menu listing all the possibilities. The ftp address of the machine is either the IP or the FQDN (Fully Qualified Domain Name, ie. ftp.jeffwilson.com) of the server. If the server is on your local lan, you should be able to reach it merely by typing 'ftp ftpservername' at the commandline, substituting the name of the server for 'ftpservername'.

If you want all user directories to be in a deeper subdirectory of the ftproot, sure you can make the home directory path for the local user c:\inetpub\ftproot\users\%username%. That's not a problem. Is that what you were asking?
 
Thanks again ShackDaddy. That's what I was needing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top