I could not delete a stray directory with a backslash in the name

Website URL

https://nufosmatic.infinityfreeapp.com/

Error Message

Basically a directory got created, somehow, that was suffixed with a backslash.

Other Information

Ref: (I can't delete a sqlite file - #4 by Admin)

Rather than “unlink()”, use “rmdir()”.

However, the directory turned out to not be empty. So use “rename()” to name the directory so something benign without the offensive backslash, then delete the directory, recursively, as normal.

Not a problem now, but figured somebody might end up in the same boat…

5 Likes

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