Uploading Content with File Manager

Watch the video tutorial

To upload a website using File Manager:

  1. Go to Websites & Domains > domain name > File Manager.

  2. Click the image-upload-button button and then do the following:

    • To upload a single file, click Upload File, locate, and then select the file you want to upload.

    • To upload a single file, multiple files, or a directory with the files therein, click Upload Directory and then drag files or directories to the dashed line box.

    • To upload a file not from your computer but from another website or FTP server, click Import file via URL, specify the the URL of the file, and then click Import. For example, the URL can be https://example.com/image.png or ftps://user:password@example.com/example.tar.

      Note

      File Manager supports the following protocols for file import: HTTP, HTTPS, FTP, and FTPS. Depending on the protocol, the user name and password in the URL path can be either optional or mandatory.

    image-file-manager

    You have uploaded the file. If it was an archive, you have two more steps left.

  3. Click the row corresponding to the archive and then click Extract Files. If the directory contains files whose names match those packed in the archive, select the “Replace existing files” checkbox. The unpacked files will then replace those in the directory.

  4. Click OK.

    Note

    File Manager can extract files from the following archive formats: ZIP, RAR, TAR, TGZ, and TAR.GZ.

Editing Files in File Manager

By default, you can edit pages of your website in File Manager by using:

  • HTML editor, a WYSIWYG editor, which automatically adds the necessary HTML tags. You can use this editor if you are not familiar with HTML.
  • Code editor, which opens HTML files as text files and highlights HTML syntax. Best suited for those who want to add HTML tags manually.
  • Text editor, which opens HTML files as plain text.

If you have installed the Rich Editor extension, you can also use it to edit HTML files in File Manager. Rich Editor is a WYSIWYG editor like Code Editor but with more features (for example, built-in spellchecker).

To edit a file in File Manager:

  1. Hover over the file. The corresponding line will become highlighted.
  2. Click to open the file’s context menu.
  3. Click Edit in … Editor (the button name depends on the editor you want to use).

Searching for Files in File Manager

In File Manager, you can search for files by searching for a text in filename only, content only, or both. To choose how to search for files, click the image-icon icon next to the search field and then click the desired search type.

Additionally, you can speed up the search by limiting the search scope when searching for content in content only and in filename and content by:

  • Excluding large files.
  • (Plesk for Windows) Excluding binary files.

To exclude files which size is larger than the specified value (in bytes) from the search by content:

Add the following lines to the panel.ini file:

[fileManager]
search.maxScannedContentSize =

For example, if you add the following lines to the panel.ini file, files larger than 20 MB will be skipped during search by content:

[fileManager]
search.maxScannedContentSize = 20971520

(Plesk for Windows) To exclude binary files from the search by content:

Add the following lines to the panel.ini file:

[fileManager]
search.winExcludeExtensions =

For example, if you add the following lines to the panel.ini file, EXE and JPG files will be excluded from the search:

[fileManager]
search.winExcludeExtensions = exe
search.winExcludeExtensions = jpg

Here is a full list of file extensions, which you can use with the search.winExcludeExtensions setting: exe, jpg, jpeg, png, bmp, ico, img, doc, docx, xls, xlsx, 7z, rar, tar, bz2, gzip, zip.

Note

When adding the search.winExcludeExtensions setting to panel.ini, specify one file extensions per line. To make it easier, you can use the Panel.ini Editor extension.