|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
gone postal
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Posts: 1,569
|
uploading to an FTP
I can't get it to work. I dled WS FTP Pro, and that worked fine, I was able to connect and everything. the problem is in uploding the webpages. the host wants u to use a file called "index.html", and I uploaded that and that works fine, but the problem is, how do I link to another webpage¿ the site is set up http://hostname.com/~mrurt, and that is my "index.html" file, that works fine, but what do I upload if I wanna make a link from that site to say, http://hostname.com/images¿ should I upload a folder called "images" with a html file called "images" inside it¿ or should the file "images" stay in the root directory¿ :help:
|
|
|
|
|
|
#2 (permalink) |
|
NSBQ nut
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2001
Location: .de
Posts: 1,208
|
I'm not sure what you mean here.
If you want a folder with images just create one (or upload the folder with contents) and put an index.html (or .htm) in it. You have to do that for every folder which will be accessed by users directly. No need to do this if you it's only linked or something. The index.html will be the default for every folder the apache (if it is apache) create an index of the files in this folder itself but only if directory browsing is switched on.
__________________
Bred for its skills in magic |
|
|
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
|
Every server has configured "homepages" the homepages are just pre-defined filenames that tell the server which page to deliver first out of each directory. In this case, it is index.htm or index.html. Think of the ftp as a folder on your windows machine. If you have a folder called 'website' that is your wwwroot and you create a folder in there called 'images' the address to that folder becomes http://www.hostname.com/images. Now, every folder that you create may contain its own index.htm file. When you browse to http://www.hostname.com, the server first looks for a file with the same name as one of the known homepage filenames and then delivers that file to the remote user. If it can't find one, it may sometimes deliver what's called a directory listing. That is, it lists all the files in the current directory/folder. I also am not completely sure what you're asking, but I hope this helps...
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|