Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Base64 Binary Javascript

Posted on 2007-04-06
2
Medium Priority
?
1,138 Views
Last Modified: 2008-02-01
I am processing a webservice using javascript... one of the elements returned is a byte array of a document.. so it is base64 encoded binary data...

I need to know if anyone can help me write this to disk using javascript?

Thank you
0
Comment
Question by:NTGuru705
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
stanscott2 earned 2000 total points
ID: 18868035
There are utility functions that let you read/write Base64 data here:

http://www.webtoolkit.info/javascript-base64.html

Javascript won't let you write directly to the disk, though -- it's a security violation.  If you're using IE, you have access to the Windows Scripting Host, but the user will (and properly) get a warning.
0
 
LVL 1

Author Comment

by:NTGuru705
ID: 18876880
I found what I needed..
There are some dlls here that can help you out on the web..
Here are two... both work within Javascript just fine.
http://www.miraplacid.com/msc/doc/msc_blob.html
http://www.sevillaonline.com/ActiveX/Base64.htm
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question