Set Up Your Own FTP Server | Access Files Around The Globe
FTP is another such protocol, one that stands for “File Transfer Protocol.” It’s also one of the oldest protocols in use today, and is a convenient way to move files around. An FTP server offers access to a directory, with sub-directories. Users connect to these servers with an FTP client, a piece of software that lets you download files from the server, as well as upload files to it.
Many internet users will never have any use for FTP, but if you’re building a website, it’s an essential tool. And because it’s such a fundamental tool on the web, it’s worth knowing about even if you’re not a developer. So here’s everything the average internet user needs to know about FTP, and how to use it.
Step 1) Download File Zilla Server
Install with default IP (127.0.0.1) and port (14147) settings. (‘Cause these settings aren’t ‘used’ anywhere else.)
– (!) Configure ‘passive mode’ settings to range if you are behind NAT router.
– Set up users & passwords, along with access folders for those user
If you are not behind router then you don’t have to configure passive mode settings
Step 2) Configure Windows Firewall
You need to configure windows firewall to use FTP server. All you have to do is to allow any incoming connection to FTP server. You have to enable FTP Server in windows firewall.
Step 3) Set Up Port Forwarding
Internet Service Provider (ISP) assign a public IP to their user. Router assign Private IP (192.168.1.1) to every devices connected from that router. Suppose you are setting up a ftp server to you PC and that is assign with the private IP (suppose 192.168.1.12) now, all you have to do it to forward port 21 (default ftp port) on your router. This will allow any incoming ftp connection on port 21.
Step 4) Adding Users
If you have a Windows server and FileZilla Server as your FTP server (the default for Managed Windows servers), you can easily add additional FTP users as needed. Each user will be ‘jailed’ into their shared folder.
- Open FileZilla Server Interface (start menu or desktop icon), then click ‘OK’ on the ‘Connect to Server’ dialog.’
- Go to Edit -> Users.
- Click Add, type in username, then click ‘OK’.
- Click the ‘password’ checkbox and enter the password.
- Click ‘Shared folders’, then click ‘Add’ and choose a folder.
- Check (enable) all permissions under ‘Files’ and ‘Directories’.
- Click ‘OK’ towards the bottom.
Now, the defined user can access your server by entering your IP address i.e (public IP). If you have any question regarding setting up FTP servers then feel free to write down in the comment box below.