LoginLogin About

Support » Knowledge Base » General questions » Tips for scripts owners »

How to upload files to an FTP server

FTP connection is used to upload files to a remote server. You may need it, e.g., to publish a web page on the Internet or to upload PHP scripts to your server.

For uploading files via FTP, use special software — an FTP client (e.g., FileZilla). To be able to upload files, establish an FTP connection to the remote server. To do so, enter the following credentials in the connection settings of your FTP client:

  • FTP server address;
  • user name;
  • password.

You can FTP obtain connection credentials from your web-hosting provider or set them up in your web-hosting control panel.

After the FTP connection has been established, you will see the list of directories and files which available on the server to your FTP user. Select the directory to which files should be uploaded, then select the files on your computer, and run the uploading function in the client.

To make your files available on the Internet, they must be uploaded to a special directory which is used to store such files. Please, contact your web-hosting provider or server administrator to find out the name of that directory. Very often its name is public_html, www, htdocs, or httpdocs.

Once uploaded to the directory mentioned above, files become available on the Internet at a URL of kind http://mydomain.com/file-name, where mydomain.com is your domain name and file-name is the full name of the uploaded file with the extension. E.g., if your domain name is mydomain.com and the file name is test.html, then, after uploading to the server, the file will be available at http:// mydomain.com/ test.html.

Note: The name of directory public_html, www, htdocs, or httpdocs is not used in URLs of uploaded files!