login about faq

I've base64zipped a content of xml. After decode the base64zipped, is possible unzip with third part software (winrar, 7-zip or online software) ? Thank you!

asked Sep 18 '14 at 03:38

luigi's gravatar image

luigi
111


I would need more information as to exactly how the base64 "zipped" content was created. What Chilkat objects were used, and which methods?

link

answered Sep 18 '14 at 08:28

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Yes, chilkat objects and methods.

Chilkat.Xml allegati = new Chilkat.Xml(); Chilkat.Xml attachment=allegati.NewChild("Attachment", string.Empty); attachment.SetBinaryContentFromFile(attachmentpath, true, false, null)

Thank you!

link

answered Sep 18 '14 at 10:16

luigi's gravatar image

luigi
111

No, because the compressed data embedded in the XML (and base64 encoded) is just the output of the deflate compression algorithm. It wouldn't make sense to compress it to a binary image of a zip archive because then it would need to include all of the Zip local file headers, central directory, etc. and the overhead wouldn't make sense.

link

answered Sep 18 '14 at 11:11

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Then to unzip the base64zipped, chilkat should I use. Is correct ?

link

answered Sep 18 '14 at 11:21

luigi's gravatar image

luigi
111

What speaks against using chilkat to unzip it? IMHO best option if created with chilkat.

link

answered Sep 23 '14 at 03:03

RootTag's gravatar image

RootTag
35121623

You could use Chilkat.Xml, or Chilkat.Compression (with the deflate algorithm), or you could base64 decode and use zlib in C/C++, or something similar. There is nothing Chilkat-specific about the compressed data -- it is just the output of the "deflate" compression algorithm, which is then base64 encoded.

link

answered Sep 24 '14 at 10:59

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13
×10
×1
×1

Asked: Sep 18 '14 at 03:38

Seen: 1,231 times

Last updated: Sep 24 '14 at 10:59

powered by OSQA