If you are setting up a FTP Server in a Domain, this article should help you. I have just taken info from various sites and had consolidated into one.
Installation - Click here to view the entire article
- Click Start, point to Control Panel, and then click Add or Remove Programs.
- Click Add/Remove Windows Components.
- In the Components list, click Application Server, click Internet Information Services (IIS) (but do not select or clear the check box), and then click Details.
- Click to select the following check boxes (if they are not already selected):
File Transfer Protocol (FTP) Service
Internet Information Services Manager
- Click to select the check boxes next to any other IIS-related service or subcomponent that you want to install, and then click OK.
- Click Next.
- When you are prompted, insert the Windows Server 2003 CD-ROM into the computer's CD-ROM or DVD-ROM drive or provide a path to the location of the files, and then clickOK.
- Click Finish.
To Isolate the Users - Click here to view the entire article
- Start Internet Information Services Manager or open the IIS snap-in.
- Expand Server_name, where Server_name is the name of the server.
- Expand FTP Sites
- Right-click Default FTP Site, and then click Properties.
- Click the Security Accounts tab.
- Click to select the Allow Anonymous Connections check box (if it is not already selected), and then click to select the Allow only anonymous connections check box.
When you click to select the Allow only anonymous connections check box, you configure the FTP Service to allow only anonymous connections. Users cannot log on by using user names and passwords.
- Click the Home Directory tab.
- Click to select the Read and Log visits check boxes (if they are not already selected), and then click to clear the Write check box (if it is not already cleared).
- Click OK.
To create a new FTP site that isolates users
1. In IIS Manager, expand the local computer, right-click the FTP Sites folder, point to New, and click FTP Site.
2. Provide the required information in the FTP Site Description and IP Address and Port Settings dialog boxes, and click Next.
3. In the FTP User Isolation dialog box, click Isolate users, and click Next.
4. In the Path box, type or browse to the directory that contains, or will contain, the site content, and then click Next.
5. Select the check boxes for the FTP site access permissions you want to assign to your users, and then click Next.
6. Click Finish.
To create FTP root-point and user folders
If users of different domains log on with their explicit domain\username credentials, create a subdirectory for each domain (by using the name of the domain) under the FTP site root directory you specified when you creating the FTP site.
For Example -
Domain Name: Account
FTP root directory -> D:\MyFTP\
LocalUser locate at D:\MyFTP\Account
For individual domain user, you need to create folder in this format - Domain\username
Domain User: Nancy locate at D:\MyFTP\Account\Nancy
How To Configure PassivePortRange In IIS - Click here to view the entire article. Folders will be listed only if passiveportrange is configured.
a) To Enable Direct Metabase Edit
1. Open the IIS Microsoft Management Console (MMC).
2. Right-click on the Local Computer node.
3. Select Properties.
4. Make sure the Enable Direct Metabase Edit checkbox is checked.
b) Configure PassivePortRange via ADSUTIL script
1. Click Start, click Run, type cmd, and then click OK.
2. Type cd Inetpub\AdminScripts and then press ENTER.
3. Type the following command from a command prompt.
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5700"
4. Restart the FTP service (Start->Run->services.msc, find FTP Publishing Service and Restart it).
Note: this is what I executed in my machine - cscript.exe adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5700"
You'll see the following output, when you configure via ADSUTIL script:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
PassivePortRange : (STRING) "5500-5700"
Open Ports in Windows Firewall
Default FTP port is 21, add this TCP port in Windows Firewall Exception list.
To Open/Delete multiple ports
for /L %i in (5000,1,5200) do netsh firewall add portopening TCP %i "FTP %i"
delete opened ports
FOR /L %I IN (5000,1,5200) DO netsh firewall delete portopening TCP %I
FreeCommander is a windows file manager which comes with FTP Client, I have been using this for quite some time...I'm satisfied!