#195563 - 2009-08-24 10:58 PM
Long File name VS Short File Name
|
Gargoyle
MM club member
   
Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
|
First time I have ever run into a problem like this, but thought I would ask anyways's
On an FTP server my client is recieving hundreds of files daily. Each of these files use Long File Names to distinguish which is which Large groups of files start with the same prefix on the file name (14 characters in length). Followed by a unique identfier of 40 characters
These files are highly transitory on the server, generally never there more than a few hours at a time.
The retrieving application picks up the files through the use of a DIR (nlst actually) command.
Within the last week we have been getting bad results of this listing.
Found that when you issue a DIR /X to see the short names, that it is identifying the files incorrectly. Here is an example ....
Note the major discrepancy between the file names. They do not follow what we learned should be the short names.
08/24/2009 05:46 AM 1,060,116 AZCI83~3.TXT AZCI837.HP00006.090824054518 79.TXT 08/24/2009 08:52 AM 4,177,338 AZA720~1.TXT AZCI837.HP00010.090824085158 35.TXT 08/24/2009 01:48 PM 666,330 AZ759B~1.TXT AZCI837.HP00019.090824134721 09.TXT 08/24/2009 01:14 PM 260,520 AZ36AF~1.TXT AZCI837.HP00041.090824131327 28.TXT 08/24/2009 10:58 AM 255,510 AZ643B~1.TXT AZCI837.HP00049.090824105758 32.TXT 08/24/2009 10:58 AM 610,218 AZ6A26~1.TXT AZCI837.HP00049.090824105801 35.TXT 08/24/2009 10:59 AM 33,066 AZ6A2C~1.TXT AZCI837.HP00049.090824105806 32.TXT 08/24/2009 01:51 PM 1,641,276 AZ56A0~1.TXT AZCI837.HP00058.090824135001 15.TXT 08/24/2009 01:20 PM 291,582 AZ6E73~1.TXT AZCI837.HP00098.090824131924 37.TXT
Any ideas?
_________________________
Today is the tomorrow you worried about yesterday.
|
|
Top
|
|
|
|
#195613 - 2009-08-26 03:41 PM
Re: Long File name VS Short File Name
[Re: Gargoyle]
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Linky: http://support.microsoft.com/kb/121007
Beware the caveat - 16 bit apps might not like it.
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 484 anonymous users online.
|
|
|