Secure FTP clientWalkthrough: Editing Web Sites with FTP in Visual StudioHow Do I Edit My BigCommerce Files Using FTP?Walkthrough: Editing Web Sites with FTP in Visual Studio

Can’t rewrite my index.htm in my public_html?

I’m using Philhosting (Linux Plan) as my host for my website. I’m using Smart FTP and FileZilla for uploading files on my ftp. Now, I cannot rewrite my index.htm on my public_html because it says that it’s a read only file, I tried changing it in the properties but still an error that says that it’s an read only file comes out. what will I do? and in my status (cpanel) my disk usage becomes .01/200.00 MB but at my last visit, i think it is already 5mb(or higher)/200mb.
@screaming
sorry but what is ssh? Im a newbie in website stuff.

@factor
I tried deleting and renaming the index.htm to trash.htm but this error comes out, "Rename/move failure: Read-only file system : /public_html//public_html/trash.htm"

first off for the most part c-panel doesn’t gauge fileuse very well.
You can try a few things to get it to work properly.

1. delete the old file replace with the new. if your cpanel allows for file management thru the web.
2. rename the old index file to somthing different and upload the new one.
Update:
okay problem maybe your ftp program itself, downloaded it and it doesnt give any info on whats on the remote server.
WS_FTP LE is free and allows you to do what you need to. http://download.oldversion.com/wsftp6.exe

after downloading and installing, login to your Ftp as usual. browse to your Index.html file and right click on it. lots of options will come up go down to "chmod (unix)" by checking all the boxes there and accepting it should allow you to replace it. If it doesnt do like screaming suggested and talk to your webhost. Hope this helps

thats my two cents.
-factorcore


Technorati Tags: , , , , , , , , ,


3 Responses to “Can’t rewrite my index.htm in my public_html?”

  1. screaminike says:

    do you have ssh access to your site?
    if so, you can use PuTTY to connect to it. (Google knows where to find it.)
    once in, you’ll need to move to your public_html folder and either delete or change the permissions of your index.html file.
    the command to change to a folder is "cd". it est:

    cd public_html
    chmod 666 index.html
    rm index.html

    IF THAT DOESN’T HELP, you may need sudo permissions. call your hosting provider and explain to them your problem, and what you have TRIED to do to fix it.
    References :

  2. factorcore says:

    first off for the most part c-panel doesn’t gauge fileuse very well.
    You can try a few things to get it to work properly.

    1. delete the old file replace with the new. if your cpanel allows for file management thru the web.
    2. rename the old index file to somthing different and upload the new one.
    Update:
    okay problem maybe your ftp program itself, downloaded it and it doesnt give any info on whats on the remote server.
    WS_FTP LE is free and allows you to do what you need to. http://download.oldversion.com/wsftp6.exe

    after downloading and installing, login to your Ftp as usual. browse to your Index.html file and right click on it. lots of options will come up go down to "chmod (unix)" by checking all the boxes there and accepting it should allow you to replace it. If it doesnt do like screaming suggested and talk to your webhost. Hope this helps

    thats my two cents.
    -factorcore
    References :

  3. Mike Otgaar says:

    Try selecting the file and using the CHANGE PERMISSIONS button at the top of the panel (not the “perms” found on the right hand side of the file in the list… there is a fairly common problem changing perms using this method related to server security setup) Select all options – settings should then be 777 (or 0777.
    That should allow you to delete/replace the file… Do however reset permissions to 644 after you are finished
    If you still can’t change the permissions after that – complain loudly to your hosting provider

Leave a Reply

Best Website Hosting for Small Business Best Website Hosting Ready Made Web Hosting

Secure FTP clientWalkthrough: Editing Web Sites with FTP in Visual StudioHow Do I Edit My BigCommerce Files Using FTP?Walkthrough: Editing Web Sites with FTP in Visual Studio