The File Manager lets you view, edit, move, and manage your website files directly in the browser, with no FTP client needed. It is also where you set file permissions. Here is how to use it in DirectAdmin.
Opening the File Manager #
- Faça login no DirectAdmin (geralmente seudominio.com:2222).
- Ir para Gerente de contas e clique em Gerenciador de arquivos.
- Your website files live in the public_html pasta.
Common file tasks #
- Edit a file: click a text file (like .php or .txt) and choose Edit.
- Upload: use the Upload button to add files from your computer.
- Create: make a new file or folder with the New buttons.
- Move or copy: select items and use the move or copy actions.
- Compress or extract: zip files for download, or extract an uploaded archive.
Understanding file permissions #
Permissions control who can read, write, or execute a file. They are shown as three digits, such as 644 or 755:
- Files: usually 644.
- Folders: usually 755.
- Avoid 777, since it is insecure and rarely necessary.
Changing permissions #
- Select the file or folder in File Manager.
- Escolha Set Permissions (or the CHMOD option).
- Enter the correct value, such as 644 or 755.
- Salvar.
Dicas #
- Back up a file before editing it.
- Do not edit core files unless you know what they do.
- Keep permissions as restrictive as possible.
Solução de problemas #
- Cannot save a file: check that its permissions allow writing.
- Site errors after editing: restore your backup copy.
- Upload fails: very large files may upload better over FTP.
Precisa de ajuda? #
If you are unsure about editing a file or its permissions, our support team is on live chat to help.