cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: upload binary data to host

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 16 May 2006 09:48:07 -0700

On Tue, May 16, 2006 at 10:26:02AM +0200, Michael.Renner_at_dab.com wrote:
> 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

What are you trying to accomplish with the --quote clauses? curl already
sets the file type by issuing a TYPE command. Does it work if you leave
those off?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-05-16