This article shows how to read and display binary data using Active Server Pages.
Many developers appreciate the ease of using the Scripting.FileSystemObject to open an ASCII file and then display its contents in Microsoft Word or Microsoft Excel from within Internet Explorer. In its current inception, ASP does not directly provide any comparable objects to read files that contain binary data such as an Excel worksheet with macros, an Adobe Acrobat (.pdf) file, a .gif image, or any other files that contain binary data. However, an ASP developer can write a custom business object or component that adds this functionality.
Many developers appreciate the ease of using the Scripting.FileSystemObject to open an ASCII file and then display its contents in Microsoft Word or Microsoft Excel from within Internet Explorer. In its current inception, ASP does not directly provide any comparable objects to read files that contain binary data such as an Excel worksheet with macros, an Adobe Acrobat (.pdf) file, a .gif image, or any other files that contain binary data. However, an ASP developer can write a custom business object or component that adds this functionality.