cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problem with -T -

From: Corey Jewett <ml_at_syntheticplayground.com>
Date: Mon, 29 Jan 2007 01:48:34 -0800

I spent a while googling around and it looks like this is probably a
problem with my provider, but it also seemed possible that it's an
untested edge case.

I'm trying to pipe stdin to a WebDAV server, but once the 100
Continue comes back nothing happens. Curl reports 0 for everything.
After 5 minutes the server kicks me back a 413, content too large.

$ dd if=/dev/zero bs=1024 count=10 |curl -k --digest --user
demo@bingodisk.com:bingo -vvv -T - https://demo.bingodisk.com/bingo/
zeros > out

$ dd if=/dev/zero bs=1024 count=10 |curl -k --digest --user
demo@bingodisk.com:bingo -vvv -T - http://demo.bingodisk.com/bingo/
zeros > out

(This is the demo account for bingodisk, feel free to pound it a bit.)

If I write the dd to disk and then use -T <file> it works like a champ.

I'm running on an Intel MacBook Pro, latest Tiger, installed via
MacPorts.

$ curl --version
curl 7.16.0 (i386-apple-darwin8.8.1) libcurl/7.16.0 OpenSSL/0.9.8d
zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: Largefile NTLM SSL libz

Thanks,
Corey
Received on 2007-01-29