▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██ ██
█▌ - WINDOWS' FTP SERVERS - █▌
█▌ █▌
█ ▐▌
█ Setting up your own FTP server gives you the ability to easily share files ▐▌
█ with others, securely access your files from anywhere, and satisfaction of ▐▌
█ having your own server how you want it. ▐▌
█ ▐▌
█ FOR ALL WINDOWS' FTP SERVERS ▐▌
█ WINFTP ▐▌
█ RAIDENFTPD ▐▌
█ ___________..___________ ▐▌
█ ▐▌
█ ▐▌
█ FOR ALL WINDOWS' FTP SERVERS: ▐▌
█ ````````````````````````````` ▐▌
█ PORTS: ▐▌
█ 1. First pick a port that is free to use for your FTP server. For security ▐▌
█ don't use port 21. Use one above 10,000. Forward that port in your router ▐▌
█ (TCP). If you don't know how see port-forwarding website HERE. For this ▐▌
█ example I selected port 111111 ▐▌
█ ▐▌
█ 2. If you are going to use SSL for some users select another 2 ports ▐▌
█ (raiden's implicit and explicit) and do the same. For this example I ▐▌
█ selected port 222222 & 222233 ▐▌
█ ▐▌
█ 3. Select a large enough port range (depending on the amount of users you ▐▌
█ are going to have) for port passive use. ▐▌
█ For this example I selected ports 10000-10040. That's considered a small ▐▌
█ range, which is fine for me as I have only 2 users including myself :) . ▐▌
█ ▐▌
█ ABILITY TO TEST LOCALLY: ▐▌
█ To test this locally I had to edit my 'hosts' file: ▐▌
█ C:\WINDOWS\system32\drivers\etc\hosts (the name of this file is hosts, no ▐▌
█ extension) ▐▌
█ Right click on file, select Properties, under Attributes remove Read-only ▐▌
█ if checked/OK. ▐▌
█ Open file with WordPad, Mine had this: ▐▌
█ 127.0.0.1 localhost ▐▌
█ ▐▌
█ I changed it to: ▐▌
█ 127.0.0.1 localhost ▐▌
█ 192.168.1.2 my.freedomain.com ▐▌
█ ▐▌
█ (192.168.1.2 is my internal IP on my network) ▐▌
█ Close that file selecting the red X, select OK; not file / save ▐▌
█ Right click on file, select Properties, under Attributes select ▐▌
█ 'Read-only' /OK. ▐▌
█ ▐▌
█ Windows 8 users: If you are using the built-in 'Windows Defender' ▐▌
█ antivirus then you must: ▐▌
█ 1. Exclude the 'hosts' file from being monitored by Windows Defender or it ▐▌
█ will remove any changes you make to this file: ▐▌
█ Windows key > type in Windows Defender > Enter > Settings tab > Exclude ▐▌
█ Files and locations > Browse button > navigate to file > OK > Add > Save ▐▌
█ Changes ▐▌
█ 2. Launch your text editor as Admin to make changes to the hosts file. ▐▌
█ Example: Windows key > type in Wordpad > right click Wordpad icon > Run ▐▌
█ as administrator > file type box select 'All Files (*.*)' ▐▌
█ ▐▌
█ *Note in the above settings 'my.freedomain.com' is a free domain I have ▐▌
█ from dyndns.org . To set that up see my DYNDNS tutorial HERE. ▐▌
█ If you don't have one then put your internet IP there. If your IP is ▐▌
█ dynamic, changes, you'll have to reset that each time it changes. ▐▌
█ ▐▌
█ NOTES: ▐▌
█ 1. An easy way to give your users their account information is in this ▐▌
█ format: ▐▌
█ ftp://name:password@yoursite.com:port ▐▌
█ For example: ▐▌
█ ftp://mewbie:123abcABC456@123.456.789:12999 ▐▌
█ They then can then paste that entire line into most FTP clients that will ▐▌
█ then correctly fill out the settings. ▐▌
█ ▐▌
█ 2. To test an FTP client you can enter the server address as: localhost or ▐▌
█ 127.0.0.1 or your internet IP or your domain. ▐▌
█ Protocal would be Normal FTP Server or for SSL it would be 'SSL FTP (AUTH ▐▌
█ SSL)' ▐▌
█ ▐▌
█ 3. Set up a proper account for your self (with a very strong password that ▐▌
█ you can remember) so that you can access your computer when away via FTP. ▐▌
█ Of course you will need to leave the FTP server running and have approved ▐▌
█ entries in your firewall already. ▐▌
█ ___________..___________ ▐▌
█ ▐▌
█ ▐▌
█ FTP SERVERS THAT I HAVE TRIED: ▐▌
█ WINFTP: ▐▌
█ ``````` ▐▌
█ WinFTP's site is HERE. They have a forum HERE, which looks like it's ▐▌
█ difficult to get your questions answered. ▐▌
█ Though this is a very easy FTP server to have up and running the freeware ▐▌
█ version has a nag; you won't have to put up with it long as it has a time ▐▌
█ limit (probably 30 days) :( . It is expensive, even starting at the ▐▌
█ Standard version. Some things I really liked is it's built in SSL ▐▌
█ certificate maker, SFV checker, easy to setup virtual directories, etc. ▐▌
█ Just easy, clean, small foot-print. If you want to give it a try this is ▐▌
█ how I set up mine: ▐▌
█ ▐▌
█ INSTALLING & SETTING UP: ▐▌
█ ```````````````````````` ▐▌
█ First do the steps above under 'FOR ALL WINDOW'S FTP SERVER'S' ▐▌
█ 1. Get the latest version from their site. Install it. ▐▌
█ 2. Read their 'HELP.CHM' which can be accessed from WinFTP Server '?Help' ▐▌
█ button. It's one of the better help files I have come across. Go to Quick ▐▌
█ Start and follow step by step on the first page. Very easy. Will cover ▐▌
█ everything needed there to get it up and running. ▐▌
█ 3. Continue on in the help to set up everything else or if like me and ▐▌
█ despise reading manuals just go button by button the program :) . ▐▌
█ ▐▌
█ NOTES: ▐▌
█ `````` ▐▌
█ 1. To make a fancy welcome login I just did it in notepad (font terminal) ▐▌
█ then I pasted it into WinFTP/Main/Event Manager/ first in the list ▐▌
█ 'OnWelcomeUser'/Reply tab, select 'Reply with message:' Then paste in your ▐▌
█ message/ASCII art - same for the rest of the possible messages. ▐▌
█ ___________..___________ ▐▌
█ ▐▌
█ ▐▌
█ RAIDENFTPD: ▐▌
█ ``````````` ▐▌
█ RaidenFTPD's site is HERE. They have an active forum HERE. This is my ▐▌
█ favorite FTP server so far for Windows - mostly because of all the add-on ▐▌
█ scripts (free) such as ones that check the integrity of files :) You can ▐▌
█ find the add-ons HERE and also by searching in google and go crazy playing ▐▌
█ with those, even if you don't 'need' them. Freeware version has a nag, no ▐▌
█ SSL/TLS, Remote Control or ODBC database. To have the full version it's ▐▌
█ quite expensive. This tutorial will cover a few other items not included ▐▌
█ in the Freeware version also. This is NOT as easy to setup to be running ▐▌
█ as smooth as WinFTP but it will have far more features if you take the ▐▌
█ time- it's the closest I've seen yet to GLFTPD. You can spends days and ▐▌
█ days playing and setting up extras. I'll write down all that I can ▐▌
█ remember that I did, hoping to save you many hours of searching and ▐▌
█ reading...bleh: ▐▌
█ ▐▌
█ INSTALLING & SETTING UP: ▐▌
█ ```````````````````````` ▐▌
█ First do the steps above under 'FOR ALL WINDOW'S FTP SERVER'S' ▐▌
█ 1. Get the latest version from their site. Install it. ▐▌
█ ▐▌
█ 2. Make a directory on another drive to back up its configuration files, ▐▌
█ just in case... ▐▌
█ ▐▌
█ 3. Most of the configuration files you will edit are in its main install ▐▌
█ directory: C:\Program Files\RaidenFTPD ▐▌
█ ▐▌
█ 4. Start setting it up by reading the help docs which can be accessed ▐▌
█ 'RaidenFTPD help' link in its main window (C:/Program ▐▌
█ Files/RaidenFTPD/raiden-ftpd-doc/index.html). Follow the step by step in ▐▌
█ the 'Quick Installation Guide'. ▐▌
█ ▐▌
█ 5. To create a SSL certificate and private key for RaidenFTPD is very ▐▌
█ easy; download the cert & key maker HERE. Then follow their steps HERE. ▐▌
█ You could open that bat file in WordPad and edit it to your needs (to save ▐▌
█ select red X/Yes). For example the cert it will make is only good for one ▐▌
█ year; you could change that. Google to find out other options you could ▐▌
█ add for SSL Certificate self signed. ▐▌
█ For example it has this: ▐▌
█ -days 365 ▐▌
█ For 10 years change it to: ▐▌
█ -days 3650 ▐▌
█ ▐▌
█ PERSONALIZED USER'S MESSAGES: ▐▌
█ ````````````````````````````` ▐▌
█ You'll find all here: C:\Program Files\RaidenFTPD\message\ ▐▌
█ 1. Make a back up of original. ▐▌
█ 2. Open the file in WordPad (or other text editors) and adjust how you ▐▌
█ like. For example 'default-welcome.msg' is what users will see when ▐▌
█ logging in. I just pasted in my same ASCII art as WinFTP at the top. ▐▌
█ ▐▌
█ ADD-ONS: ▐▌
█ ```````` ▐▌
█ I wanted something to check the integrity of zip files. After some ▐▌
█ searching and reading I decided to use Zorglub's zChecker.v2.1.935, which ▐▌
█ can be found HERE. If you run into problems go to their forum for ▐▌
█ Zorglub's scripts HERE; search and read. This is how I set mine up: ▐▌
█ 1. Install it here (not in raiden's directory): C:\Program Files\zChecker ▐▌
█ 2. Open the readme.txt and follow step by step. It is located here: ▐▌
█ C:\Program Files\zChecker\readme.txt ▐▌
█ *Backup first any files that you are going to change. ▐▌
█ 3. If you have 'dupechecker' on in raiden turn it off as zchecker dupe ▐▌
█ checks. ▐▌
█ 4. Don't use zipchecker either with zchecker. ▐▌
█ 5. On installation step 2 the ConfTool.exe worked beautifully but it ▐▌
█ limited my settings and I found it removed some as well. So I used that ▐▌
█ and then I manually edited the zChecker.ini as in the 2nd part of step 2 ▐▌
█ and just kept testing until it was correct taking notes of every error. ▐▌
█ 6. When manually editing an ini the easiest way for me is opening it with ▐▌
█ WordPad and saving it by selecting the red X/Yes (not file save which can ▐▌
█ corrupt the file). Or use UltraEdit or similar if you have it :) . ▐▌
█ 6. After you have it set just how you like it make a back up of those ▐▌
█ files...just in case. ▐▌
█ ▐▌
█ ▐▌
█ NOTES: ▐▌
█ `````` ▐▌
█ 1. To add users to your site via your FTP client (not through raiden's ▐▌
█ server window) do this by opening a command window- in FTPRush it's Ctrl+r ▐▌
█ keys. Type into the command window: ▐▌
█ site adduser name pass group ▐▌
█ For example: ▐▌
█ site adduser mewbie 123abcABC456 fmaster ▐▌
█ Then add that user's allowed IP or IP range. ▐▌
█ site addip user ident@123.456.789 ▐▌
█ For example: ▐▌
█ site addip mewbie boo@12.234.*.* ▐▌
█ site addip mewbie boo@12.234.56.789 ▐▌
█ ▐▌
█ 2. Find my pasted configuration file settings below. It would have been a ▐▌
█ big help to me had I seen some working configs before embarking on this ▐▌
█ :). Even though I don't use all the directories I set them up purely to ▐▌
█ test if script was installed ok. I would recommend this- name them as you ▐▌
█ like just be sure to change all instances of them in the configs ▐▌
█ correctly. You can learn much more I think from reading these files then ▐▌
█ help files alone. ▐▌
█ ▐▌
█ CONFIGURATIONS FILES AS PER EXAMPLES GIVEN IN TUTORIAL: ▐▌
█ ``````````````````````````````````````````````````````` ▐▌
█ My Raiden's main config file 'mewbie's.ftpd': ▐▌