CS · EN

Webhosting - File Management

This article summarizes the basics of file management using an FTP client and tools in the customer administration. If you need to find FTP login details, change a password, or create a new FTP account, follow the instructions in the article Webhosting – FTP Accounts.

In this article, you will learn:


Files and directories

Files are the basic building blocks of your website. Most often, they are code or parts of it that make up a web application, as well as various media – images, videos, documents…

For the website to work properly, all of its parts should ideally be located on one hosting service. If you need to move files from your computer to the webhosting, upload them via FTP. This transfer is not limited by file size, only by the connection speed.

Images and other media can also be uploaded by applications via PHP; in this case, the file size is limited to 128 MB on LowCost hosting, 256 MB on NoLimit, and 512 MB on NoLimit Extra. Larger files can only be uploaded via FTP.

If you want to use a content management system, for example WordPress, you can install it using the Application Installer.


Webhosting directory structure

Webhosting has a fixed basic directory structure. Make sure that it always contains these directories:

  • session – storage for files with session data for PHP
  • tmp – directory for various temporary files (important for file uploads)
  • www – the website's own directory

Only a user logged in with the main FTP account has access to these directories.

The following directories are part of the basic structure, but the website can function without them:

More information can be found in the article Webhosting – Restore the basic FTP structure.


File management via FTP

FTP, or File Transfer Protocol, is the basic method of transferring data between a user's computer and webhosting. For a computer to use it, it needs an FTP client, i.e. a program that can communicate via the FTP protocol and includes an interface for moving files. We recommend using one of the following:

Establishing an FTP connection

To connect your computer to the webhosting via FTP, you need these details:

  • FTP server address
  • Username
  • Password

If you do not know the FTP access details, find them according to the article FTP – Login.

More information about FTP accounts and their settings can be found in the article Webhosting – FTP Accounts.

Uploading files via FTP

The specific process of uploading, modifying, and deleting files on the webhosting via FTP depends on the chosen client, and the exact procedure can be found in its user guide.

When working with files, follow these precautions:

  • Avoid deleting files that make up the webhosting directory structure.
  • Make sure you upload data to the correct folder: the website belongs in the www folder (or its subfolders).
  • Be careful when deleting files directly on the webhosting – there is no trash bin from which you could later restore them. If in doubt, make a backup.

Fixing file permissions

It may happen that files have permissions set that do not allow the server to work with them effectively. This results in Error 403. You can fix file permissions using this procedure:

  1. Log in to the customer administration ⧉.
  2. In the top menu, select Hosting Services Webhosting.
  3. From the Webhosting overview, select the desired service.
  4. In the left menu, select Tools.
  5. In the File permission repair box, click the Repair file permissions button.
File permissions repair button
File permissions repair button

This repair allows the server and users access to files that might otherwise be blocked.


Common problems

An overview of common problems with FTP connection and instructions for solving them can be found in the article FTP – Troubleshooting.


Frequently asked questions

We accidentally deleted all FTP content, can you restore it for us?

You must restore the webhosting directory structure manually according to these instructions. If you accidentally deleted website files and do not have your own backup, you can request a paid restoration from our backup.