This section provides a tutorial example of how to set up a FTP server with IIS (Internet Information Server).
FTP (File Transfer Protocol) - An Internet protocol that allows users to transfer files from and to remote computers.
If you have IIS (Internet Information Services) installed on your computer, you can set up your computer
as a FTP server. Here is how:
1. Run Control Panel / Administrative Tools / Internet Information Services.
2. Expand the "local computer" entry and the "FTP Sites" folder, you will see the "Default FTP Site" service.
3. Right mouse click on the "Default FTP Site", and select Properties. The properties dialog box shows up.
4. Click on all the tabs. You will see all the settings. Some of them are important to know:
Port: 21
Enable Logging: checked
Log File Directory: C:\WINDOWS\System32\LogFiles
Log File Name: msftpsvc1\exyymmdd.log
Allow Anonymous Connections: checked
FTP Site Directory Local Path: c:\inetpub\ftproot
5. Right mouse click on the "Default FTP Site", and select Start. Your FTP server should be running now.
6. Test your FTP server, run the commands in a command window:
>ftp localhost
Connected to localhost.
220 Microsoft FTP Service
User (localhost:(none)): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password: me@herongyang.com
230 Anonymous user logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> quit
221
Congratulations, you have created a working anonymous FTP server!