cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problem with ftp upload using pipe an win32

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

Hello,

i have a problem to upload some kind of data from a win32 command line
via ftp. I would like to transfer the standard input to the ftp server.
Here are the command i'm using to reproduce the error:

type curl.exe|curl.exe -T - ftp://<ftp-server>/<filename>

All i get is a error indicating that a process writes into a
non-existent pipe.

I tried the same with a plain text file. This is working.

Is it possible that the standard in is opened in ascii, not in binary-mode?

Regards
Chris
Received on 2005-01-27