extr.ExtractArchive(directory) when file exists

Aug 25, 2010 at 5:49 AM

when extractarchive a .7z files, if the file is existed, is it possible to overwrite it?

Coordinator
Aug 25, 2010 at 6:41 AM

Use SevenZipExtractor.FileExists event

Aug 25, 2010 at 6:45 AM

sry, can you give me more hint.

 i know i can get fileexists event, but how do i overwrite the file?

 

thanks

Coordinator
Aug 26, 2010 at 3:20 PM

FileOverwriteEventArgs.FileName

property rules the process. "Gets or sets the file name to extract to. Null means skip."