Solved

Base64 Binary Javascript

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now