Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 22nd, 2005, 05:40 PM
Friend of Wrox
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
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.

Reply With Quote
  #2 (permalink)  
Old June 17th, 2006, 05:33 AM
Registered User
Join Date: Dec 2005
Location: , , .
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 ...

Reply With Quote
  #3 (permalink)  
Old June 19th, 2006, 12:04 PM
Authorized User
Join Date: Jun 2003
Location: Richmond, VA, USA.
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


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 08:20 AM.

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