Tutorial: How to setup an FTP Server

Messages
8,474
Location
Australia
How to setup an FTP Server

(Please note this only covers Software)

Notes: This tutorial will cover how to setup and FTP Server using Filezilla Server under a windows environment. I Recomend the use of windows XP because it will run on most older systems and it's perfect to use on a 5-10 PC Network OR an Internet FTP Server (When setup with the proper firewall and Antivirus,i will explain this).

What is FTP?

FTP Stands for File Transfer Protocol so basically it's a set standard of rules for transferring data between computers,wether in a network situation or over the internet.

Why use FTP?

Windows Shares/Samba shares are good when you just want to share files in a network,in a certain workgroup. Though what if you wish to share files over the internet? Or to devices that aren't in your workgroup? With FTP,your files are accessed through an FTP Client which accesses your server through an IP Adress which makes sharing files simple. It's also fantastic to use when you use multiple Operating systems!

What you'll need:

- Windows Based Machine (XP or Server 2008 Recomended)
- Filezilla Server (Download)
- An FTP Client (I Use WinSCP - Download)
-Proper Firewall (I Use Comodo - Download) - OPTIONAL


Instructions:

1. First decide wether or not you will want to use your files over the internet. If the answer is YES,Please download a proper firewall. If not,skip to section 3.

2. Download and install your firewall. You will need to configure it to allow traffic over Port 21 both in and out!

3. Download and install Filezilla Server,once installed the config UI Will Appear;

noescapingpain.png


4. Go up to 'Edit' > 'groups' , the groups window will appear:

horsesbreath.png


5. Now click add and type the name of the first group,in this case we will create an admin group,so call it 'admin'.



6. Now to the side,click on the 'Shared folders' link and add your shared folder. For this tutorial just create a folder on the desktop and call it data. Once the folder has been added,to the side make sure all 8 Boxes are ticked (Read,Write,Delete,append,,Create,Delete,List and + subdirs),now click ok.^

7.Go up to 'Edit' > 'users' , the users window will appear:
canoontotheleftofthem.png

8. Now click add and type in the name Admin and put it in the Admin group we created earlier. Now if you wish to password protect this user,simply tick the password box and input your password.*

9. Now that the server is running and a basic admin usergroup and user account has been created,put some files into the data folder we created.

10.I Recomend that your server has a static I.P Adress (This is required if you are sharing your data over the internet) To do this:'

XP: Start>Control panel>Network Connections> Right click onto the network interface your server will be using and click properties. Highlight 'Internet Protcol (tcp/ip)' and click on properties,now simply enter a Static IP,Gateway IP and The DNS IP.

Vista/7: Start>Control Panel>Network and sharing center>Change Adapter Settings>Right click onto the network interface your server will be using and click properties. Highlight 'Internet Protcol Version 4 (tcp/ipv4)' and click on properties,now simply enter a Static IP,Gateway IP and The DNS IP.

Now take note of the IP Adress you set!

11. Now the server has a basic Server config,go ahead and try the FTP Server from another PC on the network,simply open the FTP Client of your choice (I Recomend WinSCP) and use the IP Adress you set,port 21 and the admin username (And a password if you set one!) to log in. You should now be logged in!

Now if you only wanted to share your info over our network,you are done! Go back and add more Users and Groups if you wish and your files to the data folder! If you wish to share your files over the internet you are going to have to Forward Port 21 (Or DMZ The Server),for more info visit this site.

Stay Tune for Part II: FTP Client Software And Many uses for FTP

----------------
Footnotes:

^: Groups allow you to control large amounts of users more easily. For example you could have multiple admins that are allowed to upload files and delete and whatnot and multiple standard users which can only read files. You can also specify different folders for different groups

*: I Strongly Recomend password protecting the admin account!
': More info on how to change to a static IP Here.






 
i got nice briefing about Ftp server setup

---------- Post added at 04:42 PM ---------- Previous post was at 04:32 PM ----------

Advantage of FTP server

1. Simple setup
2. Does not require passive IP response on the FTP server.
3. More secure since only subsequent ports are allowed instead of the entire passive range.
 
Back
Top Bottom