(I posted this by mistake to ISPF-L.  Trying again here where it more
properly belongs.  Or should it be MVS-OE?)

Has any reader used curl to fetch a FTP resource via an HTTP proxy
through a firewall?  Did it work for you?  Not for me; I get
corrupted data.

Example:  ALL_PROXY=http://localhost/proxy:80 curl 
ftp://cbttape.org/pub/cov/MD5SUMS

o The problem appears with an HTTP proxy.  The client software makes an
  HTTP request of the proxy, passing the FTP URL as an argument.

o Problem does not occur with a local FTP client and server (no proxy).
  Both type=I and type=A behave properly.

o The problem does not occur on an ASCII client, only on z/OS.  I assume
  the proxy knows nothing of EBCDIC, so the fault must lie in curl's
  ASCII-> EBCDIC conversion.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to