Jump to content


Issue Information

  • #000116

  • 0 - None Assigned

  • Unfiled

  • -

  • -

Issue Confirmations

  • Yes (0)No (0)
Photo

Cannot delete a file containing reserved character

Posted by Kanwar on 26 January 2011 - 08:27 PM

Hello there,

I have a file on my FTP server that is named as "admin_Kanwar\'s Test.PDF", which I cannot delete nor I can rename it. I guess this is because filename contains a backslash and an apostrophy, which UNIX doesn't like. But on the hand, I wonder how filename was accepted the first place. So, I am unsure whether it is UNIX issue or SmartFTP cannot handle it. Any insight is highly appreciated.

Thanks.

Please post the log from the remote browser showing your delete attempt.
And please post the raw directory listing of the directory containing the file: Right-click on the folder and select "Show Raw Listing" from the context menu.

Wow, mb; that was quick! Here is the information you asked for.

Log showing delete attempt:

[15:39:58] DELE admin_Kanwar\'s Test.PDF
[15:39:58] 553 Prohibited file name: admin_Kanwar\'s Test.PDF
[15:39:58] TYPE I
[15:39:59] 200 TYPE is now 8-bit binary
[15:39:59] SIZE admin_Kanwar\'s Test.PDF
[15:39:59] 213 71635

Raw Listing:

type=cdir;sizd=4096;modify=20070628031956;UNIX.mode=0777;UNIX.uid=13106;UNIX.gid=13107;unique=851g11e8007; .
type=pdir;sizd=4096;modify=20070628032026;UNIX.mode=0755;UNIX.uid=13106;UNIX.gid=13107;unique=851g11e8006; ..
type=file;size=71635;modify=20060629134803;UNIX.mode=0644;UNIX.uid=13106;UNIX.gid=13107;unique=851g1810001; admin_Kanwar\'s Test.PDF

The FTP server doesn't allow the filename so you cannot delete it through FTP. If your server offers SSH access, open a terminal and try to delete the file this way. Otherwise please contact your web hosting provider. They should be able to delete the file.

Updating status to: Working as Intended





0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users