ASP Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

ASP Examples

ASP String
ASP Byte Array
Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar
ASP Upload
XML
XMP
Zip Compression

More Examples...
Email Object
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA

Unreleased...
Bzip2
LZW
Icon

 

 

 

 

 

 

Reading binary files in ASP

Download Chilkat Charset ActiveX

This ASP script shows how to read a binary file.

<html>

<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=utf-8">
<title>How to Read Binary File in ASP</title>
</head>

<body bgcolor="#FFFFFF">
<%

set cc = Server.CreateObject("Chilkat.Charset2")

' The Chilkat charset conversion ASP component provides
' a useful method for reading binary files in ASP : 
binaryData = cc.ReadFile("C:/temp/binary-file.dat")

' Write the binary data to the response
Response.BinaryWrite binaryData

%>
</body>
</html>
 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2008 Chilkat Software, Inc. All Rights Reserved.