IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Case sensitivity on sftp servers



At 08:20 PM 9/7/2003, Martin Pool wrote:
So with case sensitivity on

  OPEN("README", WRITE|CREAT|EXCL|CASE_INSENSITIVE)

in a directory containing "readme" ought to fail with
FILE_ALREADY_EXISTS even on a case-sensitive filesystem, and

  OPEN("README", READ|CASE_SENSITIVE)

in a directory containing "readme" ought to fail with NO_SUCH_FILE
even on a case-insensitive filesystem?

No, it wouldn't necessarily do so on VMS, which supports multiple versions
of files.

Think outside the box, Grasshopper...<grin>

Adding this bit doubles or triples the testing domain for many
operations.  I would suggest not adding this option unless you're
really sure it's needed.

On UNIX, maybe not.  On Windows, maybe not.  But they're not the only
systems...

------
+-------------------------------+----------------------------------------+
| Dan O'Reilly                  |  "There are 10 types of people in this |
| Principal Engineer            |   world: those who understand binary   |
| Process Software              |   and those who don't."                |
| http://www.process.com        |                                        |
+-------------------------------+----------------------------------------+





Home | Main Index | Thread Index | Old Index