FTP is used to upload the files on the server from the client side where it is installed on the computer of clients.
- FTP client is checked for the installation of the software and according to that the appropriate directory is uploaded on the hosting server.
- The hosting server uploads the files that is being created by the user and set the permissions for it so that public can access it.
- Web hosting uses different directories like HTML that is used as var/www/html that is determined using the FTP client.
- Initial local directory is being set up using FTP client and it is where the website gets stored.
- The transfer mode is being determined for the files that need to be transferred either in ASCII or BINARY mode.