Install FTP Server on XAMPP 2022

미연

·

2022. 5. 10. 12:33

how to install and Configure FileZilla FTP Server on Xampp Later and how to Install FileZilla Client These are the main steps Step 1, Download and Install FileZilla FTP Server on Xampp, Configure and secure FTP server Step 2, Download and install FileZilla FTP Client, connect your website remotely using FTP As you see, the FileZilla FTP server is disabled, because we did not install it So, let’s Install FileZilla server and make it work with the Xampp control panel Open web browser and download it, from official website Or you can find download link below in the description Make sure, you download the FileZilla Server, not the client, we will install FileZilla client later Go to Xampp directory, and Create a new folder, FileZillaFTP Make sure, you consider capital letters when you name the folder Right-click on the installation file and run it as administrator, then Click Agree In the first window, check only "FileZilla Server" and "Administration Interface"Click nextNavigate to the folder, which we have created, that is, FileZillaFTP then, delete default installation folder Click nextIn the drop-down menu, Select the "Do not install as service, start server automatically and uncheck "start server after setup completes" option Click nextIn the drop-down menu, select "Start Manually"uncheck "Start interface after setup completes" and click install allow FileZilla server to communicate on both networks Stop all servers and quit Xampp Open xampp-control.ini file with notepad Under [EnableModules] set FileZilla=1 Under [BinaryNames], just divide the filezillaserver by pressing the spacebar key Save the file and start Xampp Control Panel As you see, the FileZilla Server is enabled But we have an error, port 14147 is used, and the server does not start Let's check which application is using port 14147 Open Task Manager, and go to Performance tab Open Resource MonitorGo to Network tabOpen the "Listening Ports" sidebar, and find port 14147 Looks good, it looks like the FileZilla server somehow was started automatically So, we just need to restart the process Open the task manager again, and go to the processes tab Under background processes Find and select FileZilla server and click on end taskLet’s try to start FileZilla server now Works fine!OK, let’s Configure and secure FileZilla FTP server for our website in Xampp control panel along the FileZilla module, Click Admin button this opens FTP server interface In Connect to Server box, enter Server Address and Administration Password leave port number by default click connect to connect FileZilla FTP server First of all, let’s fix these warnings Open FileZilla server Settings, to make basic configuration of the FTP server General Settings, you can change default FTP connection port from here This doesn’t really secure your server, but it obscures it and makes it harder to find So we just testing, and I leave it by default for the moment Welcome messageHere you can enter your custom server welcome message IP bindingsHere you can set which IP addresses on the server it will bind to We need to Use the star, to bind to all addresses, so, leave it by default IP FilterHere you can block the IP addresses of unwanted users For example, In the first field, you can add the star to block all IP addresses from connecting to your server And in the second field, you can add the individual IP addresses or address ranges that you want to allow Passive mode settings If you want to allow connections to your FTP server from the Internet You should allow the FileZilla Server to use a specific range of ports for passive-mode connections So, tick the checkbox, next to the Use custom port range Then choose port range, it is better to choose ports between 40,000-50,000 But make sure your port range is not being used by another application Open Task Manager, and go to Performance tab Open Resource MonitorGo to Network tab, open the "Listening Ports" sidebar Sort the ports from, port section and check your chosen ports When you make sure, that your chosen port range is not used Just enter it in the following fields Then, tick the checkbox, to Retrieve the external IP address from the following server Security settings, Miscellaneous, admin interface settings If you follow my configuration, I Leave these settings by default, it’s up to you Logging, You can enable logging to file It allows you to keep track of what is happening on your server use a different logfile each day This option is for high usage servers In a Speed limits, you can set max download and upload speeds for the server Filetransfer compression I Leave it by defaultFTP over TLS settingsEnable FTP over TLS support (FTPS) generate new certificate So, with this option, users can securely connect to your FTP server Save your self-signed certificate, somewhere in your server better to create new folder for your certificate OK, certificate generated successfully Enter key passwordOK then we need to port forward all following ports Port 21, range of ports, that we used in Passive mode and Port 990 you can find helpful guides on this website, of how to correctly port forward using your router So, let me quickly port forward on my router done, lets, check itworks fineReconnect to your server as you see, all warnings have been fixed Ok let’s add new user, and share website folder Go to Edit, UsersClick add and type username Click ok to create new user Create password for new user Then go to Shared folders, and share your website folder You can give special rights to the selected user Let’s check itThis is my shared folder, it contains two files Open opera web browser Make sure that VPN is on This website is online FTP client, so you can connect to your FTP server from anywhere Type your FTP credentials and click ok to connect your FTP server OK, we have successfully connected to the FTP server These are my shared files Let’s add new file for test New file has been created, let’s check it in my server’s folder works fineYou can also install FTP client to connect to your FTP server remotely from anywhere Step 2, Download and install FileZilla FTP Client, connect your website remotely using FTP This is another virtual machine with a different network OK, open your web browser and download FileZilla FTP client You can find download link below in the description Double click on FTP client and install it Create new connection, so then you can connect to your FTP server with one click Go to file, Site manager and create new site Name your connectionFrom protocol tab, you can choose connection type, I leave it by default In the Host field, enter your hostname or public IP address of your FTP server Port number, if you leave empty it automatically uses port number 21 So you can leave this field blank Encryption, leave it by default Ok, then enter the username and password of your FTP server and click OK, to save changes To connect FileZilla FTP server, click on the site which we just created Click ok on certificate window That's all, we have successfully connected to the FTP server Ok, let’s check itWorks fine!