File manager: work and functions

Hosting ho.ua offers its users various hosting support and administration tools. One of such developments is file manager - a system for managing the contents of your home directory.

File manager can easily replace the FTP client for filling and editing the contents of your site, and its additional features will allow you to do this easily and quickly. Unlike standard FTP client programs, file manager is written specifically for managing the contents of your site and allows even a novice web programmer to quickly and easily fill the contents of his site. Supporting the site with an intuitive web interface is also easy.

The most important thing is that file manager works on the server side, and does not tie you to a particular computer and the software installed on it. All you need to manage the your site content is a computer with any graphical browser connected to the Internet.

Below is a brief description of our file manager, highlighting its functions and capabilities, and showing examples of its most interesting capabilities in use.

Content

File manager description

To enter the file manager, you must enter your login and password for FTP access to your home directory (you can also get to the file manager from the hosting control panel using the appropriate link). To work in the file manager, it is desirable that your browser supports the work of JavaScript (all modern browsers have support for JavaScript scripts), and, if possible, files cookies. If your browser does not support JavaScript, then some important operations (deleting a file or directory and other operations that change the contents of your home directory) will be performed without repeated confirmation from your side.

After successful authorization, you get to the file manager. The general structure of the file manager is as follows (Fig. 1): at the top are displayed information messages on current operations (see below), and at the bottom are a list of existing links in the menu (duplicated at the top and bottom).

Fig. 1. File manager appearance

The list of contents of the current directory consists of the following fields:

  • name of the file or directory;
  • access mode of the file or directory;
  • size of the file or directory;
  • time of the last modification of the file or directory;
  • options corresponding to the given file or directory.

The contents of the current directory can be displayed sorted by the following fields: name, size and time of last modification, both in ascending and descending order. To sort by a field, you simply need to click on the name of this field. Clicking on the field name again changes the sorting mode to the opposite.

The following options are possible for directories from the list of contents of the current directory:

  • viewing the contents of a directory ("opening") - to do this, simply click on the icon or name of the desired directory;
  • changing the access mode of a directory - to do this, you need to click on the current access mode for the corresponding directory (see further);
  • renaming a directory - to do this, you need to click on the corresponding icon from the options column (see further). Some directories, such as ~/htdocs and ~/logs, which are necessary for the web server to function properly, cannot be renamed. This option also allows you to move a directory to other directories (see further);
  • removing a directory - to do this, you need to click on the corresponding icon from the options column (see further). This operation requires careful consideration, since deleting a directory will permanently delete all of its contents. Some directories (~/htdocs and ~/logs) also cannot be deleted.

The following options are possible for files from the list of contents of the current directory:

  • просмотр файла непосредственно в браузере - возможен только для текстовых файлов размером не более 200 кб и графических изображений стандартных форматов, используемых в Интернет. При просмотре некоторых файлов (относящихся к cgi-скриптам или html-файлам), их содержимое отображается с "подсветкой синтаксиса". При этом справа внизу окна с текстом файла, расположена ссылка перехода назад и, при условии, что размер файла не более 100 кб - ссылка для редактирования данного файла (см. дальше). Также возможен непосредственный просмотр в браузере и графический файлов (см. дальше);
  • распаковка архива - данная опция позволяет непосредственно на сервере распаковать архив (поддерживаются архивы форматов zip, rar, tar, gz, bzip2, tgz и tbz2). Данная возможность была создана специально для наполнения сайта большим числом файлов: вам необходимо всего создать соответствующий архив файлов, закачать его на сервер и распаковать этот архив! При распаковке сохраняется целостность внутренней "структуры дерева файлов", а файлы скриптов из архива к тому же проходят дополнительную обработку: устраняются неправильные переводы строк (так называемые DOS'овские переводы), являющиеся причиной неработоспособности вполне рабочих, на первый взгляд, скриптов. Для выполняемых файлов и cgi-скриптов из архива также устанавливается правильный режим доступа - 755. Непременно воспользуйтесь данной возможностью распаковки архива на сервере - и вы избавитесь от многих утомительных проверок и отладок ваших скриптов. Подробности см. далее;
  • загрузка (download) файла с сервера на ваш локальный компьютер позволяет вам загрузить данный файл на компьютер для последующей его обработки;
  • замена файла новым позволяет заменить данный файл новой версией. При нажатии на эту ссылку появляется стандартная форма загрузки файла на сервер (см. дальше), а после загрузки новый файл заменяет старый. Имя загруженного файла при этом игнорируется;
  • переименование файла - для этого вам необходимо кликнуть по соответствующей иконке из колонки опции (см. дальше). Данная опция также позволяет вам перемещать файл в другие каталоги (см. дальше);
  • удаление файла - для этого вам необходимо кликнуть по соответствующей иконке из колонки опции (см. дальше). Удаление файла также требует тщательного обдумывания.

Для текущего каталога также доступны следующие опции, ссылки на которые расположены в меню каталога (сверху и снизу):

  • загрузка файла в текущий каталог (см. дальше);
  • создание нового каталога в текущем каталоге (см. дальше);
  • очистка текущего каталога позволяет вам удалить всё содержимое текущего каталога, не удаляя сам каталог (см. дальше);
  • редактирование настроек каталога - правка параметров доступа данного каталога веб-сервера (файл .htaccess) позволяет вам легко и быстро установить часто востребованные директивы веб-сервера Apache для данного каталога (указывающие, например, индексный файл для каталога по умолчанию, управление отображением каталога при отсутствии индексного файла, парольный доступ к каталогу и прочие) (см. дальше).
  • восстановление исходных файлов хостинга - если Вы случайно удалили или так изменили файлы хостинга, которые располагались в Вашем домашнем каталоге, что сайт перестал нормально функционировать, Вы можете восстановить некоторые или все файлы хостинга (см. дальше).

В следующем разделе более детально описаны возможности файл-менеджера.

Continuation...

To the beginning

Register a domain

Action!
Transfer domain to ukraine-domain.com and get free hosting for half a year
contact abuse service