|Dart Home | PowerTCP Zip Compression for Active | Custom Development||Reply | PowerTCP Zip Compression for ActiveX Topics | Forums|
|Author||Forum: PowerTCP Zip Compression for ActiveX|
Topic: Error 13501 QuickUnzipping over read only file
From: Waltham, MA USA
Member Since: 06/04/10
|posted June 4, 2010 1:04 PM
We were running an old version of DartZip.dll (v184.108.40.206) and got the error 12026 when we tried to QuickUnzip a file on top of read only files that already existed.
We installed the trial version (v220.127.116.11) and got the error 13501 instead, but the QuickUnzip still failed.
We are already passing True for the PreservePath and Overwrite booleans.
Is there a way we can tell the control to overwrite the files, even though some of the files may be read only on the disk, and avoid getting the error?
|Nick B (Admin)
From: Utica, NY USA
Member Since: 05/25/10
Extra Support Options
Custom Application Development
|posted June 4, 2010 1:58 PM
The files must be made writable before the unzip operation with your own code. Our control does not have functionality built into it to make read-only files writable; this is an operation for the user to decide upon.
Here is some code to examine that might help you in setting file attributes:
If you just want to set the file to writable, this may be the easiest thing to call:
SetAttr "C:\somefile.txt", vbNormal
|Reply | PowerTCP Zip Compression for ActiveX Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|