Creating Your Own FTP Server on Windows XP Professional

Adapted by:  • Edited by: Michele McDonough
Updated Jan 15, 2011
• Related Guides: Internet | Windows XP | Ftp Server

Ever questioned how files are shared over a network? It is done with File Transfer Protocol (FTP). Let’s find out how you can set up your own FTP Server on a Windows XP system for sharing files with others.

What is FTP (File Transfer Protocol)?

FTP stands for “File Transfer Protocol.” FTP is, without doubt, the most secure method to exchange files and folders between computers on the Internet and over LAN. It basically works the same way as HTTP does with bringing us web pages from a web server.

We often access shared files on the Internet and we share our own files, too, with others. Attaching a file with a hotmail message is an example of file uploading through FTP. What if you have a lot of files and/or directories to share with other people - how would you do it? Some may use Remote Desktop Connection applications, but these give very slow performance and are less secure. This is where FTP comes into play. Using FTP is an easy and speedy method to share your files over the Internet.

Setting Up File Transfer Protocol (FTP) Server

The first thing that needs to be done when setting up a FTP server is to install it on your system as it is not installed on Windows by default.

We can install FTP server from the “Add or Remove Programs” area in the Control Panel. There is an item called “Internet information services (IIS)”, select this and click details. From the items listed, we only need (a) “Common files”, (b) “Internet Information Services Snap-in”, and (c) “File transfer protocol (FTP) service”. Select these, insert the Windows XP CD and click OK. FTP will be installed now on your PC from the Windows CD. Now we have the necessary application, and we're ready to work with the FTP server.

  • It is important that a limited, password protected user exists on Windows who can logon to the FTP server.
  • If you use a router, make sure its firewall is set to let all FTP traffic through. This can be done from router's administration menu.
  • If you have the Windows XP firewall enabled or use a third-party firewall, you will need to open port 21 (usually it is open by default) to allow users to connect to the server.

When FTP has been installed, it must also be ensured that the FTP service is actually working. To check this, go to Services – Press Win Key + R together, type in “services.msc”, and then click OK. This will bring up all of the service panels, where you can locate the FTP service and start it.

Now your FTP server has been setup completely and you can share files with others.

To test your FTP server, create a text file in the FTP Server’s default folder for keeping your files – “C:\Inetpub\ftproot” and type in some text in the file.

Simply access this file from your internet browser by typing ftp://xxx.xxx.xxx.xxx/yourFile.txt in the URL where "xxx.xxx.xxx.xxx" is the IP address of your computer.

FTP Logs and Troubleshooting:

All FTP service logs are stored in “C:\WINDOWS\system32\Logfiles\MSFTPSVC1”.

Logs contain all the transactions which occurred during the transfer of data, and they show standard codes on separate lines for easy reading. Any sort of FTP problem can be identified from the logs by reading the codes, which will assist you in troubleshooting any problem that may occur. Click here for all the codes:

Granting Rights to Users

User rights can be changed easily by going to the Control Panel and selecting the "Administrative Tools" icon. After doing so, select "Information Internet Services (IIS)". On the left-hand side of the window, you will see your computer. Expand it, then right-click on the folder called "FTP Sites", and then choose "Properties." From there, you can now grant server access or specific rights to whoever you want.

Tip: For privacy reasons, don't put data on your FTP site that you would not want seen by the general public.

Conclusion

Certainly, FTP is the simplest, although not the most secure, way to share files with others on a computer network. Windows XP FTP Server is easy to use, and you can let your friends access your files or directories straight from their Internet browsers.

There are better options for a more secure FTP server using Core FTP's SFTP server for instance.


Comments

Showing all 5 comments
 
sudhakar Mar 29, 2011 9:25 AM
Unable to upload FTP
This page is very informative , was very much helpful for me. I have configured FTP and able to view files through FTP remotely. but i am unable to file on to the FTP server, its not gettng authentication even after enable user permissions. Really appreciate help on this
Manoj Dec 11, 2010 12:14 PM
Change default folder of FTP Server
Sir, thanks for this valuable article. This is really very easy and helpful to learn ftp server setp.

Sir, please help me how to change the default folder of my FTP server and make it password protected.
Matthew Casperson Aug 9, 2010 7:53 PM
RE: Creating Your Own FTP Server on Windows XP Professional
"the most secure method to exchange files and folders between computers on the Internet and over LAN"

Actually, FTP is considered to be quite insecure. Passwords are transmitted in plain text, meaning that it is very easy for someone to read the password by capturing the network traffic.
sakthi Jul 27, 2010 6:58 AM
please help
how to install and config ftp server windows xp
LALIT MOHAN JOSHI Mar 22, 2010 6:14 AM
how we can make project in ftp server in XP
give me a help to make ftp project in XP
 
blog comments powered by Disqus
Email to a friend