This online sample demonstrates functionality of
a
base64 property,
ByteArray class
and
Huge asp file upload.
You can convert texts using several code pages (using
CharSet property) from Unicode string to byte array and then convert the binary data to a Base64 string.
The sample uses a special Base64 algorithm written for the
ByteArray class. The Base64 conversion algorithm is written in C++ and works with binary (VT_ARRAY | VT_UI1) and String (BSTR) OLE data. It contains hi-speed and low-memory consumption BSTR->BSTR, BSTR->BINARY, BINARY->BSTR and BSTR->BSTR algorithms. Source code of the coding algorithm is available within
distribution license of a
ScriptUtilities library.
The
ByteArray class was primarily designed
to work with ASP and VBScript, but you can use it with any other language working with COM (ActiveX, OLE) objects,
such is VBA (VBA5, VBA6, Word, Excel, MS Access), VBScript and JScript in windows scripting host
(.wsh, .chm or .hta applications, Outlook or echange server-side scripts), VB.Net, C# or j# in ASP.Net and others.
Another online samples (utilities, converting, upload)
On-line base64 decoder and encoder - let's you convert text data and files from/to a Base64 string.
Punycode/IDN decoder and encoder - online conversion between unicode (utf-8), punycode and IDNs (Internationalized Domain Names)
URL Encoder, escape with charset conversion
URL Decoder, unescape with charset conversion
Online binary file to SQL field (HexString or base16) - let's you create an SQL statement to insert/update binary or a text file to a SQL database field. You can also create whole WSH (VBScript) to do the action.
Online Codepage & Charset text and file converter - let's you convert text, html and files between many code pages.
Live upload with progress sample - simple upload of files to ASP with progress bar.
Live upload with image preview - Upload with many additional features: image preview, size preview and file type checking (before upload), server-side checking for file type, file contents, file size and upload size and more.
IAF password recovery - Recovery passwords from your IAF File.
Online IAF file generator - Create email account configuration file for Outlook express online.
Online IAF decoder - Decode IAF configuration files online.
Gmail pop and smtp configuration generator - Outlook config for Gmail.
quoted-printable encoder online sample.
quoted-printable decoder online sample.