cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Updating a htm file

bpike
Newbie
Posts: 8
Registered: ‎26-02-2014

Problem Updating a htm file

I have a small family history website which I update from time to time.
Normally I make the change on my computer then FTP it to ftp.plus.net and the change works fine.
Yesterday when I ran the FTP it seemed to work OK but nothing seems to have changed in the live environment. i.e the index displayed the previous information.
It's a good few months since I last made a change to the index on my website.
Has anything changed recently? I have already dealt with the change of hosting site for CGI.
BP
5 REPLIES 5
bobpullen
Community Gaffer
Community Gaffer
Posts: 16,605
Thanks: 4,539
Fixes: 289
Registered: ‎04-04-2007

Re: Problem Updating a htm file

The index file in that particular directory has an update timestamp of this time yesterday. That suggests the newer file /was/ uploaded.
Have you tried forcing a cache reset (try holding CTRL and F5 on the keyboard when viewing the site).
Also, is the file listing intentional when you visit your website without pointing your browser to a particular folder? Just asking because it's fairly trivial to disable this behaviour.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

bpike
Newbie
Posts: 8
Registered: ‎26-02-2014

Re: Problem Updating a htm file

Thank you Bob
CTRL and F5 did the trick.
I haven't had to do this before.
Brian
bpike
Newbie
Posts: 8
Registered: ‎26-02-2014

Re: Problem Updating a htm file

Hi Bob
I don't really understand what you mean about the file listing.
Can you please explain further, with perhaps an example
BP
spraxyt
Aspiring Legend
Posts: 10,063
Thanks: 673
Fixes: 75
Registered: ‎06-04-2007

Re: Problem Updating a htm file

What this means is that when you browse to your website without specifying a file or folder name, ie enter only www.username.plus.com on the address line you are shown a list of files in that (top level) directory (the list might be empty)
When a file name is not given the default behaviour is for the server to look for a file called index.htm or index.html and serve that. Getting a directory listing implies you don't have such a file.
Adding a simple index.htm file would stop directory listing or, as Bob mentioned a special directive in a .htaccess file could be used to disable directory listing.
David
bobpullen
Community Gaffer
Community Gaffer
Posts: 16,605
Thanks: 4,539
Fixes: 289
Registered: ‎04-04-2007

Re: Problem Updating a htm file

Quote from: bpike
Can you please explain further, with perhaps an example

It's as David has explained really, e.g. I browse to your default webspace address and I see this in my web browser:

Let me know if you want this behaviour disabling.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵