Documentation

Features

This tab contains the settings for the generic features of the plugin.

Show columns

This fieldset contains the switches to set which column is hidden or visible.

Size

Enables the size column's visibility.

Date

Enables the date column's visibility.

User

Enables the user column's visibility. (Note: To be able to display the user's name, posix_getpwuid() is needed from the posix extension.)

Group

Enables the group column's visibility. (Note: To be able to display the group's name, posix_getgrgid() is needed from the posix extension.)

Permissions

Enables the permissions column's visibility.

Hidden files and directories

Directory and file visibility settings.

Show hidden files and directories

If this is on, hidden files and directories will be shown in the list.

Extensions

This fieldset contains the settings for regulating file extensions within the plugin.

Show or hide files with extensions

Decides which list will be used for filtering files with specific extensions.

Hide files with these extensions

This list contains which extensions will be hidden.
Default: htaccess, htpasswd, php, env, bak, old

Show files with these extensions

This list contains which extensions will be visible.

Upload limits commercial version only

This fieldset contains the regulation rules for uploads.
Attention: The limits set for the extensions are also affecting the rename command of the plugin.

File count

Number of files allowed to upload at the same time (0: unlimited).

File size

Maximum size of the uploadable files (0: unlimited).

File size prefix

Size prefix of the file size. (B, kiB, MiB, GiB)

Allow or block files with extensions

Decides which list will be used for filtering files with specific extensions.

Block files with these extensions

This list contains which extensions will be blocked.
Default: bat, exe, htaccess, htpasswd, php

Allow files with these extensions

This list contains which extensions will be allowed.

Directory changing

How many clicks needed to change directories.

Number of clicks to change directory on mobile

Number of clicks to change directory on mobile.

Number of clicks to change directory on desktop

Number of clicks to change directory on desktop.

Upload logging commercial version only

You can set the logging parameters of upload.

Enable logging

You can turn on or off upload logging with this checkbox.

Log file

The log file's location. (E.g.: /var/log/wpcztpfm-upload.log)

Log line format

The log file's line format. (E.g.: {time}{TAB}{user}{TAB}{file}{TAB}{path}{TAB}{code}{TAB}{text})

Usable placeholders:

  • {time}: Timestamp (YYYY-mm-dd HH:ii:ss)
  • {user}: User's name, or '[guest]'.
  • {file}: The uploaded file's name.
  • {path}: The path the file has been uploaded to.
  • {code}: Resulting PHP/plugin error code for the uploading.
  • {text}: Error message according to error code.
  • {TAB}: Tab character.

Error codes:

  • 00: Success.
  • 01: File too large. (upload_max_filesize property in php.ini.)
  • 02: File too large. (MAX_FILE_SIZE field in HTML form.)
  • 03: Partial upload.
  • 04: No upload.
  • 06: No temporary folder.
  • 07: Write error.
  • 08: PHP extension block.
  • 09: Target directory does not exist.
  • 10: Too many files.
  • 11: File too large. (upload_size field in Two Panel File Manager.)
  • 12: Unallowed extension.
  • 13: Moving failed. (move_uploaded_file() returned false.)