I’ve got a bunch of .msg files (outlook message files) that contains zipped files which needed to be extracted. Now the problem is that if I don’t save the zip files to disk first, it seems to not be able to get the files inside the zipped files. This is achieved via dragging the zipped file from the .msg file and into my program which will then extract the content of that zipped file. I can work around this issue by saving the zipped file to disk first then dragging that file to my program but that involves 1 extra step, which the customer doesn’t want to do.
The code that I used to extract the files is
var zip = new ZipArchive( zipFile );
AbstractFile  files = zip.GetFiles( true );
where zipFile is a diskFile.
So basically my question is whether it is possible to get the files inside a zipped file without it actually having to be on disk.
Imported from legacy forums. Posted by Leonardo (had 878 views)
I need the manual drag n drop functionality because this is an importing process in the application. Users can import documents by using the drag and drop functionality that we’ve created. So using an automated process is out of the question.
Imported from legacy forums. Posted by Leonardo (had 1212 views)