Sunday, April 8, 2012

Set Up Ftp Server Using FileZilla on Windows 7

Ftp stands for File transfer Protocol, if you want to know more about it, you can check it out at Wikipedia. Ftp is verily getting less beloved nowadays as users have lots of other protocols to transfer files, P2P especially Bt. Ftp, however, is still playing a very important role.

Let's say, if you have a file that's about 300Mb and you would like to send it over to your friend oversea immediately. What would you do? usually emails have attachment limit (usually it's not as high as 300Mb) and it will be very slow and unstable if you try to transfer over instant messenger software like Msn. The best clarification will be setting up your own Ftp server at home and authorize your friend to download from your computer. Mind as well, you can set up an catalogue so that you can view all of your files and grab them wherever you go.

Wordpress Theme

If have already set up your remote desktop at home, you will probably leave the computer on 24*7 just so that you can entrance it any time you want. Or if you have a spare computer like I do, why don't you try to make use of it? I am going to show you how you can make your computer into a Ftp server.

Set Up Ftp Server Using FileZilla on Windows 7

After trying a combine of the Ftp server software, the freeware FileZilla Server became my choice.

Ok, let's get started.

The first thing you will need to do is to install the holder you just downloaded (from the above link); the factory is quite straight send and I am not going to get into too detail.

Upon flourishing installation, FileZilla server will originate and you should be able to see the following interface:

Before we go ahead and set it up the ports, we would like to add a user to make sure it works. We will go to pick from "Edit-->Users" (Or there is a shortcut icon right underneath the "Edit" on the menu bar.)

I created a user named "anonymous", and I make sure the "Password" field is uncheck because I would like to make this as my public Ftp catalogue that visitors could download from my Ftp server. If you would like to set up other accounts, make sure your "Password" filed is checked to levy a regain login. For different users, you can assign different path, or you can just generate a group and assign the path to all members in that group.

On the left hand side, you will see the "Shared folders", you can specify the briefcase path you would like "anonymous" to look at as well as the permission you would like to grant. Once it's done, click Ok.

Note: The shared briefcase directories is the root briefcase that the prime user (in this case, it's "anonymous") could see, but any folders contained by root folders are also graphic to this user.

The common thing Windows users would probably miss while setting up FileZilla is the Firewall. Over the installation, even though you grant permission for FileZilla server to entrance your computer resources, there is something not quite correctly set up.

Browse to your firewall setting, you should be able to find FileZilla Server Interface might be in the allow list; however, this is the problem. We should allow the FileZilla Server core instead of the interface. The interface is just the Ui for end users like you and me to entrance the core program. So we click add to pick "FileZilla Server" from the factory folder:

Now it should be Ok.

If you have two or more computers at home, you can give it a test now. First find out your internal Ip address. If you don't know how to do it, check my old post, set up your remote desktop. For example, I found that my server's internal Ip is 192.168.1.111, then on the other computer, I plainly type in ftp://192.168.1.111.

Note: If you have a different port other than port 21, let's say you have port 22, you should type in ftp://192.168.1.111:22 if you don't know what port it is, it's verily under setting-->General setting: If it works for you, we will move on; otherwise, please read the instructions again or ask me.

Ftp server is meant to be exit in a network, if you just try to set it up at home, then you are done; but according to the situations I introduced in my first paragraphs, I do want to make it global.

Like a Remote Desktop, we will also need to set up port forwarding. In my case, since my FileZilla Server is on Port 21 on my computer, I will need to somehow send the Ftp ask onto this port. Ideally, it would be great if we can set up port 21 as external port because every time we type in the address, we don't need to type in the port number (Browser's default Ftp port is port 21). However, most of the Isp (Internet aid Provider), for example I use Telus, block port 21. We will need to find an alternate port as our external port:

I set up Port 5050 as my external port and all Ftp ask through this port will be redirect to Port 21 on my server. I am using D-Link Dir-825, if you have different router, please refer to the instruction on your manual.

If you set up your Dynamic Dns, then you are already done, if not, please go back and read my post; it's very easy.

Let's say you have your Dynamic Dns name as myServerAtHome.no-ip.org, then when you are outside, you can plainly type in ftp://myServerAtHome.no-ip.org:5050, but if you are at home, you can just type in ftp://192.168.1.111.

You can use your browsers to visit your Ftp server, however, I do propose you to use Ftp software. FileZilla Server is a great Ftp server and they do have client software too. You can check FileZilla's website; if you haven't got one, why don't you try FileZilla Client?

Set Up Ftp Server Using FileZilla on Windows 7

No comments:

Post a Comment