Is it possible to hide the php files or hide a folder with php files from FTP user accessing? But the files can be executed on a webserver?

  • Yes. If you need detailed instructions to achieve it, you have to specify at least the FTP server's name and version.
    – manatwork
    Sep 6 '13 at 8:26
  • ProFTPd version 1.33
    – hkguile
    Sep 6 '13 at 8:36

You may hide those files using the HideFiles directive. Then you must treat those files as if they don't exist, using the IgnoreHidden directive.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.