1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Deleting a directory/file by SSH unable to delete by FTP
SSH command for deleting a folder/file
We decline all responsibility in the event of lost data related to these instructions.
To delete a file or a directory, use the command, rm.
To delete the files, FileName.php and FileName.txt, for example, you must execute the following command:
rm FileName.php FileName.txt
To delete a directory, you must first delete its contents and then use the following command:
To delete all files in html format, you must execute the following command:
Find out more
- Creating an FTP account with SSH access: https://faq.infomaniak.com/1982
- Logging in under SSH: https://faq.infomaniak.com/1941
- Other useful commands (external link)