PDA

View Full Version : uploading files


dodgechrist
02-18-2002, 05:16 PM
I may be in the wrong place at the right time. My problem is elementary...I think.
I've uploaded files to a site. however when I got to the index.html page I get a directory of my files. I know why...or I think i do. My index file is one level down.
My index is in "fatpir/' -i've got this on geocities.
Tried moving the index.html out of the fatpir folder but then it couldn't see my images

I get this:
Index of /garagetest
Name Last modified Size Description
--------------------------------------------------------------------------------
Parent Directory 22-Oct-2001 20:50 -
fatpir/ 18-Feb-2002 09:53 -
pir-1/ 18-Feb-2002 09:25 -
pir_raw/ 18-Feb-2002 09:29 -

thank you for any help you may provide. DC

Paul Komski
02-18-2002, 11:09 PM
Not sure I fully understand you but unless you are using absolute links you need to keep all of the relevant files in the same folder as its "parent" html page. The simplest thing is to have everything in your .../fatpir/ folder. Before you upload have everything in one folder on your HDD; check that it loads and works correctly from your harddrive folder (say .../MyWebsite/); then upload all the files within .../MyWebsite/ to .../fatpir/

Hope this helps.

------------------
Take nice care of yourselves - Paul
Citation du mois: "There are old pilots and bold pilots but there are no old bold pilots."

Jacko
02-19-2002, 08:08 AM
This can get very confusing unless youve done it a million times!

You need to keep your index.htm file in the same folder as it was originally (so that the site dosnt load up properly no doubt). this will stop the whole site form messing up when you try to link back to that page.

Now what you can do is either
A) Create a new index.html file ot
b) copy the old one!

Explination:

A new index.html file will be placed in the base directory. It could have a little picture on it or a link to your old "Index.html" in your prefered folder. This is probablythe easiest way of solving your problem without changing links and such.

Or, you could just copy the Original Index.html file and change the links for pictures etc... and links. The advantage is that you will only have to do this for the one page.

I hope this made some sense... If not I shall try to explain a little better later!

------------------
Memory Upgrade?

dodgechrist
02-20-2002, 12:14 PM
Thank you fellows. Appreciate the answers. I think you are both on to the problem. I need to be careful of my links and where my files live. Will review my site adn tighten it up.