Webhosting – File Management

  Web Hosting

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

In this article, you will learn:

Files and Folders

Files are the basic building blocks of your website. Mostly they contain the code or its parts that make up the web app, as well as various media – images, videos, documents, etc.

In order for the website to function properly, all its components should ideally be located on one hosting. 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 connection speed.

If you want to use a content management system such as WordPress, you can install it using the App Installer. You usually upload images and other media via the systém’s PHP-based interface, but be careful – in this case, the file size is limited to 128 MB for LowCost hosting, 256 MB for NoLimit and 512 MB for NoLimit Extra.

Webhosting Directory Structure

The Webhosting service has a fixed basic directory structure. Make sure it contains the following directories at all times:

  • session – PHP’s session file repository
  • tmp – a directory for various temporary files (important for media upload)
  • www – the website’s file directory

These directories are only accessible to the main FTP account.

The following directories also belong to the basic structure, but the site can work without them:

You can find more information in the article Webhosting – Basic FTP Structure.

FTP File Management

FTP, or File Transfer Protocol, is the basic way to transfer data between a user’s computer and a web hosting service. In order for the computer to be able to use it, it needs an FTP client, i.e. a program that can communicate via the FTP protocol and contains an interface for moving files. We recommend using one of the following:

FTP Connection

To connect your computer to Webhosting via FTP, you need the following information:

  • FTP server address
  • Username
  • Password

If you do not know the access data to FTP, find them according to the article Webhosting – FTP Access.

You can find more information about FTP accounts and their settings in the article Webhosting – FTP Accounts.

File Upload via FTP

The specific process of uploading, editing and deleting files on Webhosting via FTP depends on the chosen client, and you can find the specific procedures in its user manual.

Observe the following precautions when working with files:

  • Avoid deleting the files that make up the basic directory structure.
  • Make sure you are uploading the data to the correct folder: website files belong to the www folder (or its subfolders).
  • Be careful when deleting files – there is no recycle bin to restore them from later. If you have any doubts, create a backup.

Repair File Permissions

Uploaded files may have incorrect permissions that do not allow the server to use them properly. This typically causes Error 403 – Forbidden. You can repair file permissions by following this procedure:

  1. Přihlaste se do zákaznické administrace.
  2. In the navigation bar, select Web & Email Hosting Webhosting.
  3. Select the desired service from the Webhosting list.
  4. In the left menu, click Tools.
  5. In the Repair File Permissions section, click the Repair file permissions button.
WEDOS Repair File Permissions button
Repair File Permissions button

With this fix, you will allow the server to access files that might otherwise be blocked.

Common Issues

You can find a list of common FTP problems and their solutions in the article FTP – Troubleshooting.

FAQ

Question: We accidentally deleted all the FTP content, can you restore it for us?
Answer: You need to restore the Webhosting directory structure manually according to this guide. If you have accidentally deleted the website files and you do not have your own backup, you can request (for a fee) us to restore ours.

Děkujeme za zpětnou vazbu!