Usage Note 6588: Serving binary files when running the IntrNet Application Server
The FILESRV program is used to serve a wide variety of external files
and catalog entries when running the SAS/IntrNet Application Server.
This is the recommended approach for serving files. For more
information see:
http://www.sas.com/rnd/web/intrnet/filesrv/filesrv.html
However, if you do not use the FILESRV program, it is also possible to
serve a binary file using a SAS data step. For example, the program
below illustrates an approach for serving a GIF file.
data _null_;
file _webout recfm=s;
infile "c:\your_dir\test.gif" recfm=n;
if _n_ = 1 then do;
rc = appsrv_header('Content-type','image/gif');
end;
input c $char1.;
put c $char1. @@;
run;
Operating System and Release Information
| SAS System | SAS/IntrNet | Microsoft Windows NT Workstation | 8.2 TS2M0 | |
| Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | |
| Solaris | 8.2 TS2M0 | |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | |
| 64-bit Enabled Solaris | 8.2 TS2M0 | |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | |
| HP-UX | 8.2 TS2M0 | |
| z/OS | 8.2 TS2M0 | |
| 64-bit Enabled AIX | 8.2 TS2M0 | |
| OpenVMS Alpha | 8.2 TS2M0 | |
| Tru64 UNIX | 8.2 TS2M0 | |
| AIX | 8.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | |
| Topic: | System Administration ==> Servers
|
| Date Modified: | 2002-01-07 10:07:49 |
| Date Created: | 2002-01-02 17:41:50 |