cURL / Mailing Lists / curl-users / Single Mail

curl-users

upload binary data to host

From: <Michael.Renner_at_dab.com>
Date: Tue, 16 May 2006 10:26:02 +0200

Moin,

I have to upload a binary file to a MVS host. But everything I try fails. AFAIK, I should define, that I send binary data, and there is something with 'filetype=jes', whatever this may mean!

curl --trace-ascii - --disable-epsv --crlf --quote "binary" --quote "filetype=jes" --upload-file file.foo \
--user user:$pass ftp://111.111.111.111/file.foo

But I get
0000: 500 unknown command binary
== Info: QUOT string not accepted: binary

When I just quote the 'filetype' command, it also fails:
0000: 500 unknown command filetype=jes
== Info: QUOT string not accepted: filetype=jes

Any hint?

Michael Renner
IT System Infrastructure

DAB bank AG
Landsberger Strasse 428
81241 München
Telefon: +49 (0) 89 50068-580
Mobile: +49 (0) 89 21705279
mailto: michael.renner_at_dab.com
http://www.dab-bank.com
Received on 2006-05-16