Overview
Features
Download
Documentation
Community
Add-Ons & Services

Zip component

Please post support and help requests here.

Zip component

Postby shinshin » 12 Mar 2009, 12:37

Now I used "Zip" component to decompress specified folder.
The folder include one file which is UNIX execution file.

I tried to decompress folder, but the execution file has lost the execution authority.
The simple code is shown as follows. What will the problem?


-------following code----------

std::ifstream inp("path", std::ios::binary);
Poco::Zip::Decompress dec(inp, Poco::Path());
dec.decompressAllFiles();

------end code------------------
shinshin
 
Posts: 7
Joined: 12 Mar 2009, 12:00

Re: Zip component

Postby guenter » 12 Mar 2009, 17:03

Poco::Zip currently does not support file attributes and Unix permissions.
guenter
 
Posts: 1121
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Zip component

Postby shinshin » 13 Mar 2009, 05:44

I didn't know it.
Thank you for information.
shinshin
 
Posts: 7
Joined: 12 Mar 2009, 12:00


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron