Topic: FTP problems with my xhtml site (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=22760" title="Pages that link to Topic: FTP problems with my xhtml site (Page 1 of 1)" rel="nofollow" >Topic: FTP problems with my xhtml site <span class="small">(Page 1 of 1)</span>\

 
robyc
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Aug 2004

posted posted 08-01-2004 21:49

I have a xhtml site using css, and when I preview my site on my computer everything works fine, and I also use xhtml checkers to make sure my I didnt miss any coding. But when I upload to my ftp webspace, one of the jpg images does not display, and two background images do not display. One of the background images is in an index.css page. These are my lines:

index.css -
body {background-image:url("media/bluebg.jpg");font-family:"Times New Roman, Sans Serif, Arial, Helvetica";}
html page -
<td colspan="5" valign="top" background="media/mainbg1.jpg">
<img src="media/title.jpg" alt="Euro Escort Power" />

Those are the lines written that are not displaying when the site is uploaded to my FTP server. Again, the site works perfect when on my computer, just not when it is on the FTP server.

Is there something different about sites on FTP that I need to code differently?? Please help!

Here is a link for the example: http://www.users.qwest.net/~haskinsbarbara/escortsite/

Rinswind 2th
Maniac (V) Inmate

From: Den Haag: The Royal Residence
Insane since: Jul 2000

posted posted 08-01-2004 22:43

If understand correctly you are viewing your webspace through your ftp program and you are wondering why it looks strange??
No i guess not. You are probably uploading the files from your site to your webhost through ftp. Now wehen you view the site with your browser pictures are not showing up. Right ok? now look at the names from you pictures. Some will be named wrong, remember most webhosts are case sensitive an windows is not.
Thus while on windows the following names are the same:
test.gif , TEST.gif ,TEST.GIF ,test.GIF
on you webhost they are four different files.

So when you use test.gif as background image but the image is called TEST.GIF or test.GIF on your webserver it won't load. It's good practise to check all files before you upload an make sure they are all in the same case.

------------------------------
Support Justice for Pat Richard

(Edited by Rinswind 2th on 08-01-2004 22:44)

falling_softly
Nervous Wreck (II) Inmate

From: canada
Insane since: Oct 2000

posted posted 08-01-2004 22:46

Filenames are case sensitive once you upload. The ones not showing have .JPG as the extension. Just change them to lower case.

robyc
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Aug 2004

posted posted 08-09-2004 23:50

I'll try that, thanks. Apologies for the delay in response.

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

posted posted 08-09-2004 23:53

Just to clarify, filenames are case sensitive if you upload them to a Linux server (which most servers are). If you upload them to a Windows server the filenames remain case insensitive.

But to be on the safe side you should code with case sensitivity in mind, that way the page will work on both Windows and Linux.

_________________________
"There are 10 kinds of people; those who know binary, those who don't and those who start counting at zero"
- the Golden Ratio - Vim Tutorial -

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 08-10-2004 17:42

To clarify further, as there seems to be a huge misconception going on here -

quote:
Is there something different about sites on FTP that I need to code differently??



Your site is not on FTP. FTP = File Transfer Protocol, and indicates the method used to transfer your files from one computer to another.

(Edited by DL-44 on 08-10-2004 17:43)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu