Skip to content

Conversation

@adeutscher
Copy link

Add control options: --no-listing (Closes #20), --no-upload (Closes #3), and --no-download.

  • With --no-listing, no files will be gathered and no table will be displayed. Requesting a non-file request other than to the base directory will redirect to the base directory.
  • With --no-download, file links will be not be links. Attempting to visit the link manually will result in a 403 push-back.
  • With --no-upload, the upload interface will not be displayed. Attempting to perform an upload manually without the GUI will result in a 405 push-back.

@adeutscher
Copy link
Author

Using --no-listing and --no-download will also make #14 possible, though not as the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flag for disabling directory listing Read-only mode

1 participant