File names displayed with random cases.
Kenneth Brody
kenbrody at spamcop.net
Fri Sep 16 13:11:07 PDT 2011
On 9/16/2011 2:35 PM, Jay Ashworth wrote:
> ----- Original Message -----
>> From: "Larry Hoover"<larry at hoovercs.com>
>
>> Ken- Your insight into 8.3 format at least gives me a workaround to
>> solve my problem:
>> all my html files will be named<name>.html vs>name>.htm and they
>> will
>> stay case sensitive since the .html has 4 digits.
>> all my .css files will have at least nine characters in the name.
>> Now filezilla will transfer them correctly to the servers.
>
> Note that there's possibly even another thing going on here: The 8.3 filename
> and the "long filename" on Win32s machines are stored separately, and might
> have different case, even on the Windows box; can't say if that's deterministic
> or not.
The SetFileShortName() API call allows a privileged process to change the
8.3 "short" name of a file. (I'm not sure exactly what is required, as even
a "run as administrator" command prompt failed to run a quick test program
with "A required privilege is not held by the client" on that call.)
The 8.3 name is not necessarily related to the "long" filename.
In fact, here is a partial listing of directories on my media server, along
with the 8.3 names that it assigned to them:
> RK2JS9~G ROY_ORBISON
> PFNSGN~Q PUSSYCAT_DOLLS_WORKOUT
> S619FI~P SORCERERS_APPRENTICE
> 4N3EP1~L 4400_S1_D2
> 4N3EP1~M 4400_S1_D1
> 4BVV5K~Z 4400_S2_D1
> PGVOCN~N PLAY_THE_ROCKGUITAR
> IKZO4A~7 I_Claudius
> PWZPCE~G PLAY_THE_GUITAR
> P1AE6A~4 PLAN_9_FROM_OUTER_SPACE
--
Kenneth Brody
More information about the Filepro-list
mailing list