cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP upload doesn't work with Windows 32 binary?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Sep 2001 12:07:27 +0200 (MET DST)

On Mon, 17 Sep 2001, JIM MCNEILL wrote:

> I have read the manual page, and as far as I can see I'm not doing
> anything stupid, but I just can't get curl to upload a file at all. No
> matter whether I use the command line or a config file, no matter what
> order I put the parameters in, it's as if it just completely ignores the
> "-T" (or upload-file) parameter. If the upload destination has a trailing
> "/" I get a directory listing, if it's a filename it downloads a file.

I just tried a command line like this on an NT4 box:

  curl ftp://machine -u user:password -T file -vi

It worked fine enough.

> Shame, it's such a lovely product really. Does anyone know of a freebie
> DOS command line utility I can use for this instead of cURL?

What command line did you use? If you use -vi you'll get some additional info
from the protocol, what did that look like? (edit out sensitive info before
posting)

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-09-17