cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: need help with ftp options

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Jul 2003 16:51:31 +0200 (CEST)

On Wed, 30 Jul 2003, Roth, Kevin P. wrote:

> "won't be able to make curl work"? That seems rather harsh ;-)
>
> Wouldn't the judicious use of a QUOTE command or two likely take care of the
> problem?

I was sure it wouldn't be possible, but now when you mention it I've had a
look in the code to see exactly what it does on what return codes in the quote
code and...

Yes, I believe you're right. I *think* Stephen might be able to do it like
this:

  curl -Q "USER xyz_at_123.com" -Q "PASS secret" \
    -T (local-file-name) -u xyzuser:xyzpassword ftp://ftp.xyz.com

(and if this doesn't work Stephen, use -v again and show us why it fails)

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-07-30