Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
mhutti1 is on a distinguished road
 
Posts: 21
Join Date: Apr 2012
Default Corrupt Files - 04-24-2012, 08:41 PM

Recently I set up a system to create files from within my website. Unfortunately someone created two files with the names "5 \"ands in a row.html " and "5 \\". When I tried to delete these files through my FTP server this was the result:

Code:
PHP Error Message

Warning: ftp_delete() [function.ftp-delete]: Could not delete /public_html/corrupt/5 : No such file or directory in /home/mainhost/public_html/file-manager/includes/filesystem.inc.php on line 902

Free Web Hosting

PHP Error Message

Warning: ftp_delete() [function.ftp-delete]: Could not delete 5 : No such file or directory in /home/mainhost/public_html/file-manager/includes/filesystem.inc.php on line 926

Free Web Hosting
Does anyone know how to delete these files if it is even possible?
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Senior Member
grace1004 is on a distinguished road
 
Posts: 735
Join Date: Dec 2010
Default 04-25-2012, 02:06 AM

Why don't you use File Manager? in >>Files section of your control panel.
To use File Manager you need to login by entering your ftp password.
You can directly select files to be deleted, check on the checkbox and
click Delete button at the right top menu. In the next page, click green
check icon, and then click back-arrow icon after you get the message that
the file is deleted.
Reply With Quote
(#3 (permalink))
Old
Junior Member
mhutti1 is on a distinguished road
 
Posts: 21
Join Date: Apr 2012
Default 04-25-2012, 07:33 AM

I have tried that as well but I get the same message when I try to delete the files.
Reply With Quote
(#4 (permalink))
Old
Senior Member
grace1004 is on a distinguished road
 
Posts: 735
Join Date: Dec 2010
Default 04-25-2012, 12:16 PM

Have you tried after changing the permission of the files to 777?

Last edited by grace1004; 04-25-2012 at 12:49 PM.
Reply With Quote
(#5 (permalink))
Old
Junior Member
mhutti1 is on a distinguished road
 
Posts: 21
Join Date: Apr 2012
Default 04-25-2012, 03:42 PM

I have tried that but it will not let me change the permissions. This message appears:
Code:
Warning: ftp_site() [function.ftp-site]: Prohibited file name: /public_html/corrupt/5 \"ands in a row.html in /home/mainhost/public_html/file-manager/includes/filesystem.inc.php on line 724

Free Web Hosting
An error has occured
Unable to execute site command chmod 0777 /public_html/corrupt/5 \"ands in a row.html. Note that the CHMOD command is only available on Unix FTP servers, not on Windows FTP servers.
Reply With Quote
(#6 (permalink))
Old
nevermore93's Avatar
Senior Member
nevermore93 is on a distinguished road
 
Posts: 298
Join Date: Dec 2011
Location: USA
Default 04-25-2012, 03:54 PM

Have you tried using an actual FTP client like Filezilla to access your account and delete the file?


Reply With Quote
(#7 (permalink))
Old
Junior Member
mhutti1 is on a distinguished road
 
Posts: 21
Join Date: Apr 2012
Default 04-25-2012, 05:00 PM

Yes. That is the problem. I think that the file name must trick the FTP clients into thinking that the file is not a file. I can't even delete the directory enclosing the files or move them.
Reply With Quote
(#8 (permalink))
Old
nevermore93's Avatar
Senior Member
nevermore93 is on a distinguished road
 
Posts: 298
Join Date: Dec 2011
Location: USA
Default 04-25-2012, 05:39 PM

Yikes, doesn't sound good. Here's a couple ideas.

Option 1: Submit a support ticket and see if they can remove it

Option 2: (at your own risk) Do a full manual FTP backup of all your files/folders except the ones you don't want, and then do a cleanup/reload from your admin before uploading them again on the clean account.

Still open to suggestions here, but that's what I would do.


Reply With Quote
(#9 (permalink))
Old
Junior Member
mhutti1 is on a distinguished road
 
Posts: 21
Join Date: Apr 2012
Default 04-25-2012, 05:42 PM

I will probably submit a support ticket and if that fails I think that I will just leave it. The files are in a folder of the website that I have put access restrictions on so they aren't doing any harm it's just annoying to have them stuck there.
Reply With Quote
(#10 (permalink))
Old
nevermore93's Avatar
Senior Member
nevermore93 is on a distinguished road
 
Posts: 298
Join Date: Dec 2011
Location: USA
Default 04-25-2012, 05:56 PM

Quote:
Originally Posted by mhutti1 View Post
I will probably submit a support ticket and if that fails I think that I will just leave it. The files are in a folder of the website that I have put access restrictions on so they aren't doing any harm it's just annoying to have them stuck there.
As they say "let sleeping dogs lie"

.


Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com