cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: upload binary data to host

From: <Michael.Renner_at_dab.com>
Date: Tue, 16 May 2006 19:06:22 +0200

Moin,

you are right! I just defined one 'quote' command (btw: it was '--quote
"site filetype=jes"') with success. curl reports now, that the upload
was successfull. I can not see the uploaded file, when I login with a
normal ftp application, but that may be a matter of user rights in MVS.

Thanks

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
Sent: Tuesday, May 16, 2006 6:48 PM
To: curl-users_at_cool.haxx.se
Subject: Re: upload binary data to host

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
+----------------------------------------------------------------------+
| DAB bank AG                                                          |
+----------------------------------------------------------------------+
| - Die Nachricht war weder verschluesselt noch digital unterschrieben |
+----------------------------------------------------------------------+
Received on 2006-05-16