Cannot delete file via FTP or File Manager

Website URL

https://drmuna.ct.ws/
(please specify the URL of the site on which you are experiencing the problem)

Error Message

Command: DELE \DrMunaNAS\web\sdfsdf_sdfsdf_2025-04-27_01-56-11.jpg
Response: 553 Prohibited file name: \DrMunaNAS\web\sdfsdf_sdfsdf_2025-04-27_01-56-11.jpg

(please share the FULL error message you see, if applicable)

Other Information

I cant delete an image in a folder, i was trying to sync my qnap image folder!! please help
(other information and details relevant to your question)

what ftp client are you using? I’ve had some bugs with a few diferent ones, and found filezilla to be the most stable.

1 Like

I have filezilla but i cannot delete the file at all :frowning:

Deleting files with characters in the name that are not allowed can be quite difficult, because different FTP clients handle these file names differently.

Usually, the most reliable way to the delete the files is with a little bit of PHP code.

I had a quick look at your account and I see you already tried to do that. The only error I see is the file name: you only specified the file name as sdfsdf_sdfsdf_2025-04-27_01-56-11.jpg. But that’s not the file name (if it was, you wouldn’t have this issue). The file name to use is the full file name as you see it in the FTP client or file manager, which in your case is \\DrMunaNAS\web\sdfsdf_sdfsdf_2025-04-27_01-56-11.jpg. So that’s what you need to use in the unlink script instead.

6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.