Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 22nd, 2005, 05:40 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default Base64-encoded files

I am working on the USPS api, when you request a label they will send over a Base64-encoded tif, PDF, jpeg, or gif file. Get this, when you call their support, they do not know how to decode it and cannot offer any suggestions, so can anybody tell me how to do this or have a resource? I can get this to work on safari in apple but not explorer on the pc or apple side, so I know the file is goodl.

Old June 17th, 2006, 05:33 AM
Registered User
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Friends ,

I too got the same problem. Tried many ways but failed to get the solution. I need to generate the Shipping Label from the USPS xml response.

Please help ...

Old June 19th, 2006, 12:04 PM
Authorized User
Join Date: Jun 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb

Have you tried something like this? In this case lets assume your stream is a word doc.


Response.ContentType = "application/vnd.ms-word"
response.write myBaseObject


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get client side encoded request in web serv Jitendrab C# 2005 1 October 29th, 2008 04:44 PM
How to Encode image to base64? OniShirox Javascript How-To 4 July 5th, 2007 03:10 AM
Decoding Base64 Encoded Data and saving the image mookashi XML 14 August 3rd, 2006 05:52 PM
Image Upload to base64 format laker66 ASP.NET 1.0 and 1.1 Basics 1 April 8th, 2004 12:35 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.