Opened 7 years ago

Last modified 7 years ago

#8051 new Bug report

Files with identical names except for the letter case are not distinguished when editing

Reported by: Allan Th. Andersen Owned by:
Priority: normal Component: FileZilla Client
Keywords: editing, filenames, letter case Cc:
Component version: Operating system type: OS X
Operating system version: 10.7.4

Description

How to reproduce:

Create two files with different content on your ftp server:
/path/to/file/file.php
/path/to/file/File.php

(Notice that the files have identical names except for the letter case.)

Right click file.php and choose edit. Your editor opens the file. So far so good.
Right click File.php and again choose edit.

A dialog opens saying: "File Changed. The file '/private/var/folders/zz/y5zdkqw11yv2btyvl9y6r3tr000gn/T/fz3temp-1/file.php' has been changed on the file system. Do you want to replace the editor contents with these changes?"

Expected behavior: The file "File.php" is opened in the editor.

If you look in the temp folder, a file with correct letter case is saved. But when FileZilla reads from the temp folder, it doesn't distinguish the files. This can lead to overwriting the contents of the other file.

Change History (6)

comment:1 Changed 7 years ago by Alexander Schuch

Status: newmoreinfo

So in the temporary directory on your local computer, you do see "file.php" and "File.php"?

Be aware of the fact that the filesystem of OS X can be configured to be either case sensitive or case insensitive.

comment:2 Changed 7 years ago by Alexander Schuch

Status: moreinfonew

duplicate ticket #7875

comment:3 Changed 7 years ago by Alexander Schuch

Status: newmoreinfo

comment:4 Changed 7 years ago by Allan Th. Andersen

Status: moreinfonew

When I open file.php, the temp folder correctly contains file.php. Then when I open File.php, file.php is overwritten by File.php. I don't se both files at the same time.

comment:5 Changed 7 years ago by Alexander Schuch

Okay, this problem definitly is related to the oddity of MacOS X's filesystem being case sensitive or case-insensitive depending on system configuration.

comment:6 Changed 7 years ago by Allan Th. Andersen

Well I don't know about that. I bought a macbook air and I haven't changed any filesystem configs.... I think that it is obvious that fz can't distinguish the files. BTW I'm pretty sure I had the same problem on Win Vista.

Note: See TracTickets for help on using tickets.