vangrieg Posted January 13, 2004 Posted January 13, 2004 Hi all. I have a strange problem. I have a script that uploads files. Somebody uploaded a photo with an apostrophe in the filename. The php script escaped it with a reverse slash. Result - I have a file I cannot delete, rename or move. Neither with an ftp client nor via CPanel. The filename looks like this: newyear\'04.jpg. When I try to rename it with an ftp client, it complains about an "illegal name". CPanel says "file not found". Hm. Anybody knows what to do? Thanks! Quote
Lianna Posted January 14, 2004 Posted January 14, 2004 If you submit a helpdesk support ticket, Tech support may be able to delete it for you. Quote
vangrieg Posted January 14, 2004 Author Posted January 14, 2004 I'll do it, I just don't like to disturb busy people with stupid stuff like this and hoped that somebody would find a simple solution. I tried to check all the manuals I have but couldn't find anything on the issue. I'll modify the PHP script to avoid this in the future, but I wonder how nobody got into a situation like this before... Thanks for you reply! Quote
TCH-Rick Posted January 14, 2004 Posted January 14, 2004 It's done. No problem asking for those types of things. We will get it when we get the chance and it only takes a second. It helps when you give the exact path and filename (which you did) so that we don't have to go searching. It also helps when you give the server number. Those are the types of details that will result in quick replies. Quote
vangrieg Posted January 14, 2004 Author Posted January 14, 2004 Those are the types of details that will result in quick replies. And this one was quick. I put the server number in the "Server name" field, was that the correct place? Thanks! Quote
TCH-Rick Posted January 14, 2004 Posted January 14, 2004 Yep. That's the right place. That one little detail helps us quite a bit. Without it we have to look up your domain. Doesn't take long but is one more step. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.