Solved

Case madness

Posted on 1998-04-29
12
225 Views
Last Modified: 2013-12-25
background-- I'm creating about 200 html pages with info from a CD rom. The CD was created with a Mac- the text
files had the line breaks in them. I opened the text files in Word 97 and saved as html I use Windows95, and Netscape Composer to edit.
I copied over the the folders from the cd to work with and the names were lower case, Initail cap, which is fine.
When I had completed all my work and went to upload using WSFTP, the folders were all upper case. As I browsed thru the folders, I saw that many files had changed case. This shatters my web pages because Unix is case-sensitive so the links will be broken.
The question is how do retain the letter case I see on my Windows machine when I ftp the files? If it's too late this
time, is there a way to prevent this problem in the future? If there is no way to prevent it, then could you just explain what is happening so I can explain to people and sound smart?
0
Comment
Question by:brad999
  • 6
  • 6
12 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 50 total points
ID: 1854493
1. Mac is mixed case
2. DOS under WIN95 is all upper so short filenames (8.3) tends to be uppercased when copied from another filesystem
3. WIN95 is mixed case but window explorer shows all uppercased filenames with Initial cap
4. Unix is case sensitive as you have found out.
5. WS_FTP (at least the version I have) has a setting in option saying force case - this may actually force uppercase if not set to lower case.

Solution: make sure all links inside files are lowercase and always use lower case. Use WS_FTP back and forth with force lowercase to change all filenames.

Future: To be absolutely safe always on all systems use 8.3 lowercase filenames and set ws_ftp to force lowercase.

There is more fun waiting: Unix uses Linefeed as line terminator, DOS,Win and OS/2 uses carriage return+linefeed ad if memory serves me right, Mac uses carriage return.

Enjoy

Michel
0
 

Expert Comment

by:jstifel
ID: 3230672
I don't know if anyone will see this, but I have had similar problems using FrontPage 98 to and from my Windows 98 and a UNIX server. Windows Explorer not only respells file names and directories when files are downloaded from the UNIX server, but it also knocks out a 4-letter extension "html" and respells file names so they become unrecognizable (i.e. an "images" directory becomes "IMAGES" in the front page document source code and "graphicssm.jpg" becomes "Graphics~2.jpg" and "filename.html" becomes "Filenam~1.htm")

When I make backups from the UNIX server to my hard drive and then try to upload them to the server again, I have massive renaming changes and relinking of pages and graphics to do again.

I would like very much to find some solution to this smoke and mirrors business going on in Windows 95 and 98.


Thanks to anyone who sees this and responds.

Judi
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 3237652
As I said - 8.3 file names lowercase and force lowercase transfers and you should be a LOT better off ;-)

Michel
0
 

Expert Comment

by:jstifel
ID: 3239517
Thanks for your comment. I am inclined to agree. I'm a trainer and I always teach my clients the 8.3 rule. I really don't know if FrontPage has a preference for "html" rather than "htm." I know I always see it with four digits.

I'm impressed that you are still watching the forums.

Judi :-)
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 3240430
No magic ;-) I get an email whenever a question I commented on is updated..

Michel
0
 

Expert Comment

by:jstifel
ID: 3246371
Hi, Michel:

Yes, I get one, too. I am impressed because not everyone sticks around for two years. There are so many people on the Internet who are transcient and they don't remain members or keep their original e-mail addresses.

I asked my question about case in a FrontPage forum on Experts Exchange. I titled it something like "FrontPage98, Windows Explorer, UNIX, Case." I can't remember exactly but it is still unanswered. If you will go there and answer my question, I will give you the 400 points I promised to award anyone who could answer my question.

I still don't know what Windows Explorer is doing to my file names, but you are abosutely right about sticking to the 8.3 rule to stay out of trouble.

Thanks again.

Judi
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 3247314
Ok, thanks!!! - however I do not think I deserve it. - I think you should delete the question or ask Customer Services to answer it to keep it in the FAQ:..
0
 

Expert Comment

by:jstifel
ID: 3248513
Michel:

I accepted your answer in the other forum and attempted to assign you the 400 points. However, it would appear that only 40 points where assigned to you and it would also appear that another person, who I did not accept, showed an accepted answer. I tried to write an additional comment and got an error message that I had no further access to the string.

Is it possible that you can tell me how to correct this?  I am going to check out the "Help" link but I have this feeling that it will take me to some FAQ's.

It was my sincere  intention to assign 400 points to you and it was listed as my three options, one of which was already filled in at 400 and then I had the option to grade you and gave you an A and then completed a comment.

I don't know how to make this correction. Can you advise?

Thank you.

Judi
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 3249691
No problem! I got 1600 quality points which is 400 question points mulitplied with 4 for an A.

Once a question has been answered, it becomes a PAQ - Previously Asked Question and will cost 10% of the points - here 40

Thanks (although I think the other experts will wonder why I got the points ;-)

Michel
0
 

Expert Comment

by:jstifel
ID: 3250353
Michel:

Good!  The other "experts" were so far off base that I don't think anyone else even understood what I was talking about. You did help me and you deserve the points. I'm glad they finally were assigned properly.

Have a terrific weekend and thanks again for your assistance.

Judi : )
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 3250434
Anytime (except for the next 5 weeks - holiday!!!)
0
 

Expert Comment

by:jstifel
ID: 3250634
Gads!  What a wonderful holiday you will have.... 5 whole weeks! Have a terrific time.

Judi over and out......  :-)
jstifel@metrolink.net  ( if I can ever return the favor)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now