I figured out this was a USER (that'e me). I didn't have a EXEC statement
coded in teh HTTP server parameters for this url/directory. Once I did
that, life is much better.
Has anyone noticed that the Net::FTP translates the newline character into a
hex 3D ?
I manually did an FTP from the TSO ready prompt and transfered a file down
and it displays property.
I used the perl Net::FTP and where the line is suppossed to break, it has a
hex 3d.
Dennis
-----Original Message-----
From: Longnecker, Dennis [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 8:21 AM
To: '[EMAIL PROTECTED]'
Subject: Perl CGI ASCII/EBCDIC Issue?
Now that I finally have the newer version of Perl, Convert:EBCDIC, and
NET:FTP working, I wanted to run this perl script I found that is a CGI and
will display the weather. I found it at
http://maxvb.yi.org/sections/products/ and it is called metar.pl
When I run the script under the UNIX Shell the information displays
correctly. When I pipe the output of the perl cgi run from the UNIX shell
(i.e. >dennit.out.html) and bought my browser to that file, it displays
correctly.
However, when I code this line in my index.html:
<!--#exec cgi="/dennis-cgi/metar.pl?icao=EHAM"-->
I get a bunch of garbage back. Reminds me of an ebcdic/ascii issue, but I
am at a blank on how to 'fix' it. I am wondering if the CGI processor is
not converting it to ASCII?
Dennis