(If applicable, don’t forget to NAT a private IP to a public IP on your firewall). If you’re a website owner that is running a dedicated server, you will probably want to know how to setup FTP Sites, in order to transfer files to and from your server. This is especially true if you are not using a web hosting control panel like Helm or cPanel. Setting up an FTP Site and connecting to it using FTP software can be a big pain in the neck if you haven’t done it before. In this how-to article I will go through the basics of setting up a FTP user account, and an FTP Site in Windows Server 2003.
Keep in mind there are many different FTP configurations
that may be better for your particular situation, but this should help
you grasp how to setup FTP Sites and begin uploading files to your
server using FTP.
Create a FTP User account
- Open Computer Management, to do this go to: Start > Programs > Administrative Tools > Computer Management
- Now within Computer Management go to: System Tools > Local Users and Groups
(Note: If Local Users and Groups is not found in Computer Management)
1. You want to open Console: do this by going to Start > Run > then type mmc and click OK.
2. Then go to: File > Add/Remove Snap-in
3. Click Add > Then Add Local Users and Groups (Local)
- Right-click on the Users folder and select a New User. Now
create your User name and Password and then make sure to check Password
never expires and click Create. Then click Close.
- Now go to the folder (directory) on your web server where the
website you want to connect to with FTP is located. Typically websites
are located in the C:Inetpubwwwroot directory.
- Right-click on your website folder that you want to FTP into and click Properties
- Select the Security tab > Add > Advanced… > Find Now
- In the Search results list box, find the User that you just created and select it, and click OK, and click OK again.
- Now in the Properties dialog box, with the Security tab still
selected and your User name that you just added selected, make sure in
the Permissions box that the Write checkbox under Allow is checked, this allows for Uploading files to the server in your folder.
- In the same Permissions box, make sure that Modify is also checked. This gives the user the ability to delete files on the server.
- Click OK to save your Properties
Create an FTP Site
- Go to: Computer Management > Services and Applications > Internet Information Services > FTP Sites
- Right-click on the FTP Sites folder and select New > FTP Site
- In the FTP Site Creation Wizard dialog box click Next.
- Give your FTP site a description and click Next.
- Enter the IP address to use for the site and then click Next.
(Make sure to use an IP Address that is not being used by another FTP
site, or else you may get an error and not be able to Start the FTP
- Select Do not isolate users. You will want to select Isolate users
if you require data protection between users (The Isolate users setup
is a bit more involved to get FTP to work and will not be discussed
- Now click Browse and find the home directory of your website and then click Next.
- Check both Read and Write. By checking Write you will enable a user to upload files to the site. Click Next and then click Finish to complete.
- Once you’ve successfully created the new FTP Site, Right-click
on the your new FTP site and select Properties and go to the Security
Accounts tab and uncheck Allow anonymous connections. In the IIS Manager dialog box that pops up, click Yes.
- Then go to the Home Directory tab and check the Write box if it has not been already checked.
- Click OK.
Setup your FTP program with User login details
- Open your FTP program (such as cuteFTP, SmartFTP or WS_FTP) and
enter your Username and Password account information which you created
above and the IP Address you choose as the Host address.
- Now connect to your site.