|
John Cletheroe's
PC and Internet Hints |
If you have a large site then you may only want to upload the files which have changed since the last upload. You can use Window's Find facility to list such files, or write a program to read the DIR.TXT file described above, checking each file's time and date stamp. You could also use the Archive (A) file attribute flag to detect changed files, but beware of that flag being changed by other programs, especially backup routines.
If you have a significant number of pages on your site then you may need to maintain a log of when each pages was uploaded to the server.
Having uploaded your pages, don't forget to check that they work correctly when accessed via the Internet.
Some ISP's have a different name for the server to which web space files should be uploaded than that used to normally access the pages. For example, with Virgin Net you must upload pages with FTP to upload.virgin.net/joe.bloggs, but pages are normally accessed over the Internet by web browsers from http://freespace.virgin.net/joe.bloggs (where joe.bloggs is your user name). Files will automatically be copied from upload.virgin.net to freespace.virgin.net without you having to do anything.
With some ISP's, including Virgin Net, it is necessary to use lowercase for all your file names and directory names, including file names and directory names in the hypertext links in the pages themselves. I think that this might have something to do with the Unix operating system which many servers use.
To be totally safe, it is best to stick to the rules applicable in DOS and Windows V3.1 when choosing file names and directory names (folder names):
Make the filename of the "home page" or main menu page in each directory index.htm. All modern web browsers will automatically load a file called index.htm if the user only specifies the server name or the server name and a directory path and omits a filename. (To be pedantic, I believe there are several other possible file names for which the same applies.)
Most recently modified 25-Mar-01