July 16, 200917 yr I am running an automatic update of one of my Internet sites. It is done by uploading a new Index.htm file (via FTP) to the hosting site. But this is sometimes resulting in index.htm pages, not having been completely uploaded to the hosting site, being displayed to users. Is there any way that can be avoided? I was thinking of two possible solution scenarios. But I do not know how the write the code for either … 1. Some way of keeping the old index.htm file active until the new index.htm file loaded 2. Adding a refresh script in the beginning of the site, that will keep refreshing until the index file is completely uploaded to the hosting site. (e.g. some if statement in the script that checks if a variable in the end of the index.htm file exists and refreshes the site if false) Any other type of solution that I have not thought of is also welcome! :-)
Create an account or sign in to comment