FTP program modul changes index.html in Index.html

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
brainstuff
Senior Member
Senior Member
Posts: 279
Joined: 2008-05-22, 21:10 UTC
Location: Neuchatel
Contact:

FTP program modul changes index.html in Index.html

Post by *brainstuff »

I am sooo happy ... I have fund a bug in TC!!!!! :))) The first in about 100 years!

When I copy a index.html file to a web server he find a old index.html on the server. He ask me replace? I say YES ... and I have 2 index files on the server index.html and Index.html index,html is the old file, Index.html is the new file.

If there is no index.html on the server ... he puts index.html as Index.html on the server.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Re: FTP program modul changes index.html in Index.html

Post by *umbra »

brainstuff wrote:I am sooo happy ... I have fund a bug in TC!!!!! :)))
You should be sad! But don't worry, I know the feeling, too. 8)
But to the point. Where are you trying to copy that file to? A normal disk, a network share or some FTP server? And to be clear, you are saying that when you try to copy "index.html" to that destination, it always gets renamed to "Index.html", right?
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

brainstuff, it seems that file has name Index.html on your machine so it gets same name in same case on FTP server. You may get two copies on FTP server if it is case-sensitive - in such case index.html and Index.html are different names.
brainstuff
Senior Member
Senior Member
Posts: 279
Joined: 2008-05-22, 21:10 UTC
Location: Neuchatel
Contact:

Post by *brainstuff »

I copy from the local disk to a web page server

No, the source file has the name index.html with i not with I

I check the file, and then TC shows the copy confirm window with Index.html in it as target. Only when I change this he will copy to index.html.

And more: if I accept the setting (Index.html as target) he will ask me if I want to overwrite the existing index.html file. When I give ok ... he do NOT overwrite the index.html but I have then index.html and Index.html on the server.

If you want I can made screeen copys.

Is there a wrong setting in TC?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50934
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Do you have the option "show old 8.3 names lowercase" set? Then INDEX.HTML will be shown as Index.html.
Author of Total Commander
https://www.ghisler.com
brainstuff
Senior Member
Senior Member
Posts: 279
Joined: 2008-05-22, 21:10 UTC
Location: Neuchatel
Contact:

Post by *brainstuff »

= voir anciens noms (8,3) ... ?

No this is not set
mfg
brainstuff
User avatar
petermad
Power Member
Power Member
Posts: 16155
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Do you have the option "show old 8.3 names lowercase" set? Then INDEX.HTML will be shown as Index.html.
No, it is INDEX.HTM that will be shown as Index.htm whereas INDEX.HTML will be shown as INDEX.HTML because INDEX.HTML is a 8.4 and not a 8.3 filename.
Last edited by petermad on 2012-05-22, 20:33 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 16155
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2brainstuff
Is there a wrong setting in TC?
Not that I can see how it can explain what you are experiencing - but was is your setting in the upload dialog for "Convert file names to lowercase"

And do you ever when you test, this get this dialog:
-----------------------------------------------------------------
"The file index.html already exists in the target dir, but has different case. The target file will be overwritten on non-UNIX servers!"
[Overwrite] [Overwrite all] [Skip]
[Cancel] [Skip all] [Rename]
-----------------------------------------------------------------
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
brainstuff
Senior Member
Senior Member
Posts: 279
Joined: 2008-05-22, 21:10 UTC
Location: Neuchatel
Contact:

Post by *brainstuff »

Hi easy Rider,

I do not find the option "Convert file names to lowercase"

And YES I have the message with the UNIX Server.
User avatar
white
Power Member
Power Member
Posts: 6018
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

brainstuff wrote:I do not find the option "Convert file names to lowercase"
It's in the Upload dialog.
brainstuff
Senior Member
Senior Member
Posts: 279
Joined: 2008-05-22, 21:10 UTC
Location: Neuchatel
Contact:

Post by *brainstuff »

No the option convert files in lower case is not set.

For me this means, that he must copy all files "as it" (no change) index.html must become index.html and not Index.html or is this wrong?
mfg
brainstuff
User avatar
petermad
Power Member
Power Member
Posts: 16155
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

that he must copy all files "as it" (no change) index.html must become index.html and not Index.html or is this wrong?
No that's correct, and that is what I experience (no change of file name), so it is peculiar that you end up with Index.html on the server.

What kind of server is it Unix or Windows?

Do you have other FTP-sites you could try and upload to? - to see if it only happens for you with this particular server, or with any server in general?
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
brainstuff
Senior Member
Senior Member
Posts: 279
Joined: 2008-05-22, 21:10 UTC
Location: Neuchatel
Contact:

Post by *brainstuff »

Hi Easy Rider,

It is an unix server. I have fund the problem: it was a wrong .htaccess file.

It was a very crazy issue ... in the root of the server there was no problem to replace index.html with index.html only in some sub-directories ... now we have replaced the .htaccess File and it works fine.

I am soooo sory ... it was not a Totalcommander problem. But I am sure, I WILL FIND, in the next 99 years, ONE !!! real bug in Totalcommander. :lol:

(Totalcommander is the only bug free programm that I have ever seen!)

Thank you for your help.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the English forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply