This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TC unable to unpack ZIP containing folder named somethin.lnk
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.0x bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
Solf
Junior Member
Junior Member


Joined: 24 May 2010
Posts: 9

PostPosted: Fri Jan 31, 2014 12:19 pm    Post subject: Reply with quote

white wrote:

Copy.com seems to be a file sharing website.


Yes, it is file syncing / file sharing website similar to dropbox.

Yes, the zip was created by this service when I requested download of an entire folder via their web site.

IOW -- it indeed might have something to do with streaming & how ZIP handles streams.
Back to top
View user's profile Send private message Send e-mail
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 2020
Location: Netherlands

PostPosted: Fri Jan 31, 2014 12:54 pm    Post subject: Reply with quote

MVV wrote:
white, bit 3 is set but sizes are not zero, they are 0xFFFFFFFF.

I know. I said so Razz
If bit 3 is set the value must be zero, probably for (old) programs that look there anyway. Like Total Commander Wink

MVV wrote:
I checked 7-Zip (9.20) sources, it detects descriptor only by bit 3.

Makes sense.
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Sun Feb 02, 2014 5:50 am    Post subject: Reply with quote

The problem is indeed that the sizes are NOT set (which means that the sizes and CRC are stored after the compressed data), but this doesn't work because the file is STORED. This is clearly against ZIP standards. I will use the size from the central directory to handle this.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 2020
Location: Netherlands

PostPosted: Sun Feb 02, 2014 12:09 pm    Post subject: Reply with quote

ghisler(Author) wrote:
The problem is indeed that the sizes are NOT set (which means that the sizes and CRC are stored after the compressed data), but this doesn't work because the file is STORED. This is clearly against ZIP standards. I will use the size from the central directory to handle this.

Just assume value 0 when bit 3 of the general purpose flag is set. Then your code works..
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Mon Feb 03, 2014 9:39 am    Post subject: Reply with quote

Yes, 0 would be the correct value.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.0x bug reports (English) All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group