Forum Discussion

jerald's avatar
jerald
Frequent Visitor
9 years ago
Solved

Decompress and load multiple .gz files from multiple folders

I was able to decompress a single .gz file with a single csv in it by following Chris Webb's blog.   Ive also seen these blogs but was not able to successfully load and decompress files:   http:/...
  • hugoberry's avatar
    9 years ago

    It would be useful to get a peek at one of the files that you are trying to unzip.

     

    Meanwhile you can check that you use the right compression on the files. The MSDN article  mentions two compression mechanisms. Have you tried both?

    Compression.GZip
    Compression.Deflate

     

    Chris in his blog refers more to GZip, whilst Ken and Mark refer both to Deflate.

    Another thing to mention. GZip will be compressing only single file, while ZIP archives would embed entire folder structures. What's your case?