Today we will learn to connect by FTP to our Hosting account.
What we will need for the connection is the following information that your Hosting Provider can provide you.
Server Name: the domain to which we want to connect, or if we do not have the domain, we can put the IP.
Username: this box corresponds to the FTP user.
Password: the password of the FTP user, always respecting the upper and lower case. The most advisable thing is to make a copy and paste of the password (we have to be careful not to copy blank spaces, since they are considered as a character).
Port: FTP is the protocol that we will always have to use in order to connect with our accommodation. By default it is 21. If we have SFTP activated, the port will be 22.
Here I add an example of an FTP connection with the required data discussed above.
Once the session is started, it will show us the files of the hosting as in the image shows.
On the left, we see a window with the files located on our computer. Where we can navigate to find the files and / or directories that we want to upload to the WEB. While on the right, we visualize a window with the files located in our accommodation, among which we will find the WEB folder which is where we have to enter the content of our website, since it corresponds to the root of the website.
To upload the files and / or directories to the server we only have to select them and drag them to the directory that we want.
We must take into account the following data. The first is that the main file of the web folder has to be called "index" this file can have multiple extensions but the most used are index.htm and index.html. This is necessary because the web server is configured to show the content of the index.html by default, so when we put the name of our domain on the internet, we do not need to put anything else. The second is that within the web folder other folders can be created and each folder must contain its index.html file, this is not mandatory, but highly recommended to have the most correct file structure possible.
With this we can manipulate the data or information found in our Hosting account.
No Comment