Hi,
Apologies in advance in case I am missing the obvious, but despite reading the C1 help file, examples and previous forum posts, I'm not clear whether it is possible to 'unzip' a streamed zip file and save the file it contains without an intermediate stage of processing.
The situation is that I regularly have to download a zipped file from a public internet site (containing one small excel .csv workbook). I then need to unzip the file, extract some data from the workbook and update a series of database records using the new values. I currently use the approach of downloading and saving the zip file, then use C1Zip to extract the data from the saved zip file eg:
zipFile.Open(savedfilepath)
zipStream.Close()
Thanks in advance, and regards,
Rod
As of version #20071.40 (Feb 2007) C1Zip can open file streams and not just file paths.
C1ZipFile.Open(Stream)
I'm not sure if this will work in your situation, but I noticed most of the forum talk is dated before this release when this was not possible.
Regards,Greg