Solved

Base64 Binary Javascript

Posted on 2007-04-06
2
1,067 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Javascript: Mouseup doesn't follow mousedown 13 60
Scroll listener getting fired on initial page load 2 21
close window in firefox 3 37
Jquery syntax 12 29
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

732 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