Using curl 7.42.1 (i370-ibm-openedition)
through a firewall with an HTTP proxy like:
http_proxy=http://redacted.com:80
ALL_PROXY="$http_proxy" export http_proxy ALL_PROXY
trying to fetch:
tp://service.boulder.ibm.com/s390/holddata/month.txt
I get a strange behavior such that the first few thousand bytes
of the file when translated from EBCDIC to ASCII (that’s
right!) appear as EBCDIC. The rest of the file is proper EBCDIC.
curl -q 'ftp://service.boulder.ibm.com/s390/holddata/month.txt;type=I’
curl -q 'ftp://service.boulder.ibm.com/s390/holddata/month.txt;type=A’
produce identical bad results.
– gil