cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP from an axis camera

From: <laurie.gellatly_at_netic.com>
Date: Mon, 11 Aug 2003 21:21:06 +1000

Daniel, you're a champ.
I added : curl_easy_setopt(curl, CURLOPT_FTPPORT , "-");
and the transfer works! Fantastic. :{)

And you're also right, I do need to spend more time reading the
documentation, especially
about the DEBUG_FUNCTION.

Cheers ...Laurie :{)
----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "libcurl Mailing list" <curl-library_at_lists.sourceforge.net>
Sent: Monday, August 11, 2003 9:02 PM
Subject: Re: FTP from an axis camera

> On Mon, 11 Aug 2003 laurie.gellatly_at_netic.com wrote:
>
> > > PASV
> > < 500 Syntax error.
>
> This is the key to the problem, the server doesn't even understand PASV!
Try
> using CURLOPT_FTPPORT instead.
>
> > N.B. I also tried doing a curl_easy_setopt(curl, CURLOPT_FTP_USE_EPRT,
> > FALSE);
>
> That option only disables or enables the use of EPRT when you do active
FTP.
> First you need to enable active FTP with the CURLOPT_FTPPORT option.
>
> > Also tried a curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION , TRUE); but
that
> > aborted the code.
>
> CURLOPT_DEBUGFUNCTION is more advanced than a mere boolean, I suggest you
read
> the manual!
>
> --
> 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
>

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