How to Upload the Content to the Plesk Server with File Manager?

To upload a website using the option File Manager:

1.       Go to Websites & Domains > domain name > Files.

2.       Click the  button and then do the following:

o    To upload a single file, click on the option Upload File, locate, and then select the file that you want to upload.

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

o        Click on the "Import file via URL" option, specify the file URL, and click on the import button to upload a file from another website or FTP server. For example, the URL can be...https://example.com/image.png or ftps://user:password@example.com/example.tar.

Note: You cannot upload files larger than two gigabytes by default. You can change the maximum upload size when your Plesk account has administrative privileges.

Note: File Manager supports the various protocols for file import, such as HTTP, HTTPS, FTP, and FTPS. The user name and password in the URL path can be either optional or mandatory, depending on the protocol.

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

4.       Click the row that corresponds to the archive, and then click Extract Files. If the directory contains files whose names match the archive files, then select the “Replace existing files” checkbox. The unpacked files will be changed to those in the directory. 

5.       Click OK.

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

Editing Files in File Manager

You can edit pages of your website in File Manager by default using:

·         HTML editor is known as a WYSIWYG editor that automatically adds the required HTML tags. You can use this editor if you are not well known with HTML.

·         Code editor is the process which opens HTML files as text files and highlights as HTML syntax. This is best suitfor those who want to insert HTML tags manually.

·         Text editor is the process which opens HTML files as a plain text.

If you want to install the Rich Editor extension, you can also use this to edit HTML files in the File Manager. Rich Editor is a known as WYSIWYG editor like Code Editor but with more features such as 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 menu contect with file.

3.      Click Edit in … Editor (the button name depends on the editor you want to use).

Searching for Files in File Manager

To search the file in the File Manager, you can search it by searching for a text in filename only, content only, or both. To select the option on how to search for files, click the option icon next to the search field and then click the desired search type.

You can speed up the search scope when searching for content only in content and in filename only if your Plesk account has administrator privileges.

·         Excluding large files.

·         (Plesk for Windows) Excluding binary files.

These changes will immediately take effect, and they will apply to every user on the Plesk server.

To not include the files whose size is larger than the specific value (in bytes) from the search by content:

Add the following given 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) For not include the binary files from the search by content:

Add or include the following lines to the panel.ini file:

[fileManager]

search.winExcludeExtensions =

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

[fileManager]

search.winExcludeExtensions = exe

search.winExcludeExtensions = jpg

 

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 103