EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TelZipWrite - Ability to overwrite existing .zip file?

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 04/11/2014 14:53:46
by Dennis Spading (Basic support level)
Joined: 04/11/2014
Posts: 5


Simple question.

Is there any options/properties to overwrite existing compressed .zip file or do we need to check if the file exists, and then compress?

I don't want to write any more code than necessary.

I'm using TElZipWriter.

Thank you!

Posted: 04/12/2014 01:03:36
by Eugene Mayevski (EldoS Corp.)

Depends on the method. If you call Compress(FileName) method, and `Filename` file exists, OnUserActionNeeded event is triggered and your code can tell the component, what to do - abort the operation or ignore the problem. If you choose "Ignore", the file is overwritten.

Sincerely yours
Eugene Mayevski
Posted: 04/14/2014 10:02:38
by Dennis Spading (Basic support level)
Joined: 04/11/2014
Posts: 5


Thanks for the prompt reply!




Topic viewed 523 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!