cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with ftp upload using pipe an win32

From: Christian Monien <cmonien_at_gmx.de>
Date: Thu, 27 Jan 2005 22:18:11 +0100

Hello Daniel,

i found a solution: i now use the curl version for cygwin. This version
does it the right way. Thank you for the quick help!

Regards

Daniel Stenberg schrieb:

> On Thu, 27 Jan 2005, Christian Monien wrote:
>
>> Is it possible that the standard in is opened in ascii, not in
>> binary-mode?
>
>
> curl never opens stdin, it just reads from it if you tell it to. And
> it doesn't change mode or anything, so if Windows sets it to ascii by
> default, then ascii it will be.
>
> I'm not sure how the best fix for this would be.
>
> A work-around for you is of course to direct the data to a temporary
> file and then upload that.
>
Received on 2005-01-27