Setting up FTP on Localhost Using XAMPP
- Open XAMPP control panel and click the start button next to Filezilla.
- Go to C:\xampp\FileZillaFTP or to the proper directory if you have installed xampp in another directory.
- Open Filezilla server interface.exe and you will see the following dialog -
- Click OK and the filezilla FTP interface will open up. Here you can add users and manage their credentials.
- Click on edit->users and then add button on the right hand side, here you can create users that can access localhost using FTP. Let's name the user TestUser, for now leave the group to none.
- Congratulations! You have successfully created a FTP user, now you can assign a password to this user that the user will have to use to connect to localhost FTP server.
- Now you need to specify a folder for FTP file sharing, Just select the user that you just made and click shared folders under the pages section on the left hand side.
- Click add under the shared folder section and select the folder where you want files to be transferred using FTP. You also need to select Write permission on the right side under permissions section if you want your user to be able to upload new files. Similarly you can also select other options from the files sections according to you need.
And you are done, now just use the password and username for the FTP Client that you created and connect to localhost using FTP.