Upper/Lower Case

G

Guest

Hi,
I changed web site hosting companies a few months back and when publishing
one of my web sites to it, somehow something (I blame it on the web site
hosting server) all my web pages/images/etc ended up with duplicate names. In
the web site I had some with upper & lower case and for everyone with a
capital letter in it, a lower case of the same was created when I pubished
it. I didn't notice it right away cause it did not cause any problems with
viewing the web page. Later when I went back to it and noticed the duplicate
names, I started deleting the duplicates only to find pages/images/etc did
not show up as suppose to.

I been trying to republish to PC so I can resolve issues with duplicate
names but keep getting the message that the destination web ignores case and
the following pairs of names will conflict and it lists a group of the
duplicate names and says no files were copied.

Does anyone know how to get the web site under above condition to publish to
my hard drive so I can resolve upper/lower case issues without dorking up
online version until it all fixed?

Any help will be greatly appreciated.
 
T

Thomas A. Rowe

You can not publish it back to your HD, as Windows considers Index.htm and index.htm to be the same
file, you have to correct the site on the live/remote server or you have to delete the site and
publish a clean copy from your HD to the live/remote server.

When you use Unix/Linux for web hosting, you will need to always use lowercase folder and file names
to avoid broken links.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
P

P@tty Ayers

Thomas A. Rowe said:
You can not publish it back to your HD, as Windows considers Index.htm and
index.htm to be the same file, you have to correct the site on the
live/remote server or you have to delete the site and publish a clean copy
from your HD to the live/remote server.

When you use Unix/Linux for web hosting, you will need to always use
lowercase folder and file names to avoid broken links.

Not necessarily lower case, but just consistency of "case" - isn't that
right?
 
T

Thomas A. Rowe

No, because I would think users would more likely type in lowercase (if they had to type a URL), in
which case under Unix/Linux they would get a 404.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
P

P@tty Ayers

Tom, I understand your particular strategy in naming, but I was responding
to you saying this:
When you use Unix/Linux for web hosting, you will need to always use
lowercase folder and file names
to avoid broken links.

That's incorrect. You don't need to always use lowercase folder and file
names - you just need to be consistent, since those platforms are
case-sensitive.


--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--



Thomas A. Rowe said:
No, because I would think users would more likely type in lowercase (if
they had to type a URL), in which case under Unix/Linux they would get a
404.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

Ok, the developer needs to be consistent, I agree, however don't expect site visitors that might
have to type the URL to use upper and lower case, most likely they will use all lower case. So to be
on the safe side use all lowercase.

There is not much you can do for those have the cap lock key on...

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

P@tty Ayers said:
Tom, I understand your particular strategy in naming, but I was responding to you saying this:
When you use Unix/Linux for web hosting, you will need to always use lowercase folder and file
names
to avoid broken links.

That's incorrect. You don't need to always use lowercase folder and file names - you just need to
be consistent, since those platforms are case-sensitive.
 
P

P@tty Ayers

Right - as I said, I understand your usability strategy, but it certainly
doesn't have to be done that way.
 
T

Thomas A. Rowe

Ok, but since we are talking about usability, what good would it do to have mixed case, if site
visitors can't access your pages or files when hosted on Unix/Linux?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

Patty,

A reply is not necessary!

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
P

P@tty Ayers

Tom, I was simply correcting this statement of yours:
When you use Unix/Linux for web hosting, you will need to always use
lowercase folder and file names
to avoid broken links.

...which is not correct. It's perfectly fine and workable to use mixed-case
file names.

Again, I can see why you would recommend sticking with lower-case-only file
names. It's a reasonable suggestion. It's just definitely not the only or
even the best way.
 
T

Thomas A. Rowe

Patty,

I disagree that my statement is incorrect, in that if you don't want users to have broken links /
404s, then you need to always use lowercase. I did not say you couldn't use mixed case or whatever,
but it is the best way, again to make sure user do get 404s.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top