[SOLVED BY CONTACTING HOSTER AND THEY DELETED THE FOLDER FOR ME]
BUT STILL, IS THERE AN ANSWER TO THIS QUESTION?
So, I use FTP, and was recently experimenting with escaping things, and making directories.
I tried making a directory in PHP, and named it Jiahao's Website. The PHP script then cut out the spaces and then, it escaped the single quote, which was the problem.
Now there is a directory in my folder called Jiahao\'sWebsite
.
Since it has a back slash, when deleting this folder via net2ftp, I get this error message:
QUESTION: How would I delete this folder, or rename it so that I can delete it again? Should I use PHP?
Note that this has nothing to do with permissions, since it does have 0777 on all files and directories, even the ones on top of the current one.
When I try to rename the directory I get the following error:
When I try to delete the directory in FileZilla, it does not work either: (Nor does rename, with the same error: 553)
Status: Retrieving directory listing of "/pages/Jiahao\'sWebsite"...
Command: CWD /pages
Response: 250 OK. Current directory is /pages
Command: CWD Jiahao\'sWebsite
Response: 553 Prohibited file name: Jiahao\'sWebsite
Error: Failed to retrieve directory listing
Status: Deleting "/pages/Jiahao\'sWebsite"
Command: CWD /pages
Response: 250 OK. Current directory is /pages
Command: DELE Jiahao\'sWebsite
Response: 553 Prohibited file name: Jiahao\'sWebsite
Status: Retrieving directory listing of "/pages"...
Status: Directory listing of "/pages" successful