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 15:05:45 +0200 (CEST)

On Wed, 30 Jul 2003, Steven R. Shourds wrote:

> curl -T (local-file-name) -u xyzuser:xyzpassword ftp://ftp.xyz.com
>
> I try it and get the following message : curl: (13) Odd return code after
> PASV
>
> I am not even issuing the other user and password so I need to know how to
> do that then do a put?

Then:

1. Make sure you're using a recent version of curl (preferably 7.10.6)

2. Append the -v option to the commanda line

3. Show us the FTP command/response sequence that takes place all the way
   until it exits with the error message (edit out sensitive data).

-- 
 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