cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with a particular ftp-server

From: Guido Neitzer <guido.neitzer_at_pharmaline.de>
Date: Tue, 19 Mar 2002 10:13:16 +0100

Hi.

  FYI, the problem is solved.

>> Aeeeh, yep. Uhm. Hmmm. Have to look at the documentation what to do
>> now
>> ... ;-/
>>
>> Is it right, that I only have to do:
>>
>> curl_easy_setopt (curl, CURLOPT_FTPPORT, string);
>>
>> Where string is c-string which contains "-".
>
> Yes, if using your "defaul IP address" is fine enough. libcurl must
> pass your
> IP address to the server to have the server connect to you (instead of
> vice
> versa) so it needs to figure out the correct IP address. If the default
> is
> fine, then use "-" otherwise you must tell it more explicitly.

  It works fine now - I have to include options for that!

  Many many thanks for your help.

cug
Received on 2002-03-19