[delphizip] Re: Long File Names > 255

  • From: RPeters <rpeters@xxxxxxxxxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Wed, 05 Sep 2012 15:33:19 +1000

On 5/09/2012 1:07 PM, Allan Fernandes wrote:
> Hi,
> Yes  "addition/extraction of files where the external path is greater than 
> MAX_PATH (260 characters)? " is what I need.
> Is there any round about way ?
>
> Suggestion:
> In case you can add the files in the base folder itself and send the long 
> folder name as parameter in one of your events, say on NewFile, then I can 
> add a text file containing the path into the Zip. Extraction can be just as 
> it currently is.
>
> Regards
> Allan Fernandes
>
>
>
> ________________________________
>   From: James Turner <james.d.h.turner@xxxxxxxxxxxx>
> To: delphizip@xxxxxxxxxxxxx
> Sent: Wednesday, 5 September 2012, 4:12
> Subject: [delphizip] Re: Long File Names > 255
>   
> @Allan Fernandes,
>
> Just for clarification, do you want to use filenames greater than 255
> characters **within** zip files or are you concerned about
> addition/extraction of files where the external path is greater than
> MAX_PATH (260 characters)?
>
> -- James Turner.
>
> On 04/09/2012 23:19, RPeters wrote:
>> On 4/09/2012 8:11 PM, Allan Fernandes wrote:
>>> Hi Russell ,
>>>
>>> You will be aware that Windows allows handling of long file names (more 
>>> than 255 chars) with \\?\ being preceded to the file path. I can 
>>> Explore/Copy etc with this. I made 20 indented folders in my machine each 
>>> with the name 'abcde12345' and reached 200 chars, then I shared the last 
>>> folder and went to another machine and using the share name created another 
>>> 20 indented folders with the same name. Finally made a file in the last 
>>> folder and tried to zip that.
>>> Many customers are now having files like this and also due to unicode it is 
>>> inevitable. Please advice.
>>>
>>> Warmest Regards
>>> Allan Fernandes
>>>
>>> -----------
>>> To unsubscribe from this list, send an empty e-mail
>>> message to:
>>>      delphizip-request@xxxxxxxxxxxxx
>>> and put the word unsubscribe in the subject.
>> I am keeping it in mind as I have had problems with the 'normal' limit a
>> number of time but the problem mostly lies with the dll C++ code which I
>> am working on removing (mainly because of 64bit).
>> It is taking time but eventually I hope to get there.
>> Russell Peters
>> -----------
>> To unsubscribe from this list, send an empty e-mail
>> message to:
>>      delphizip-request@xxxxxxxxxxxxx
>> and put the word unsubscribe in the subject.
>>
> -----------
> To unsubscribe from this list, send an empty e-mail
> message to:
>    delphizip-request@xxxxxxxxxxxxx
> and put the word unsubscribe in the subject.
> -----------
> To unsubscribe from this list, send an empty e-mail
> message to:
>    delphizip-request@xxxxxxxxxxxxx
> and put the word unsubscribe in the subject.
I may be able to implement for Extraction in the next version (1.9.2) 
which I am working on at the moment but it is taking time.
Russell Peters
-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: