convert email MIME ASCII text to intended file?
Category: Computers > Software
Asked by: rnd13-ga
List Price: $10.00
23 Oct 2006 20:26 PDT
Expires: 25 Oct 2006 02:01 PDT
Question ID: 776260
Hi there -- I received an email with a file included, but which (due to some unintended reformatting) came thru simply as plain ASCII text in the body of the email. I'd like to paste this into a text document, then run a utility to convert it to the intended file. How can I do this? (I have WinZip and StuffIt, if that helps.) Thanks! [beginning of text in question follows] ~~~ Content-Type: application/x-zip-compressed; name="filename.zip" Content-Transfer-Encoding: base64 Content-Description: filename.zip Content-Disposition: attachment; filename="filename.zip" UEsDBAoAAAAAAFxwVzUAAAAAAAAAAAAAAAATAAAARUY1NTA5NkYvTWFjaW50b3NoL1BLAwQKAAAA AACFcB81AAAAAAAAAAAAAAAAJQAAAEVGNTUwOTZGL01hY2ludG9zaC9Eb25nbGVVcGRhdGVyLmFw [... etc. ...] ~~~
|There is no answer at this time.|
Re: convert email MIME ASCII text to intended file?
From: rond13-ga on 24 Oct 2006 00:13 PDT
Good point. But it depends on how "somehow" it were converted to text. If it were in the usual base-256 (i.e., double-byte hexadecimal), that would be the case. However, this uses a variation on base-64; in which case, the characters don't translate to text the same way as they otherwise would. Thanks, though. [For what it's worth, according to Wotsit.org, the header of a Zip file starts as follows: central file header signature 4 bytes (0x02014b50) ] Anyone with any ideas on how to convert the text in question back to a binary file?
If you feel that you have found inappropriate content, please let us know by emailing us at firstname.lastname@example.org with the question ID listed above. Thank you.
|Search Google Answers for|