curl-library
Re: FTP from an axis camera
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Aug 2003 13:02:47 +0200 (CEST)
Date: Mon, 11 Aug 2003 13:02:47 +0200 (CEST)
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/01Received on 2003-08-11