cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: IPv6 FTP PASV problems

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Aug 2007 13:49:09 +0200 (CEST)

On Tue, 28 Aug 2007, balson_at_comcast.net wrote:

> I tried the FTPPORT command, but that doesn't seem to work either. The
> output from all of the various parameters I passed to FTPPORT are below.
>
> curl_easy_setopt( pCURL, CURLOPT_FTPPORT, "-" );

> > EPRT |2|::1|34163|
> < 425 Can't create the data socket: Invalid argument

> curl_easy_setopt( pCURL, CURLOPT_FTPPORT, "fe80::213:72ff:fe8e:6d99%1" );

> > EPRT |2|fe80::213:72ff:fe8e:6d99|34168|
> < 425 Can't create the data socket: Invalid argument

> curl_easy_setopt( pCURL, CURLOPT_FTPPORT, "fe80::213:72ff:fe8e:6d99" );

> > EPRT |2|fe80::213:72ff:fe8e:6d99|34198|
> < 425 Can't create the data socket: Invalid argument

> curl_easy_setopt( pCURL, CURLOPT_FTPPORT, "eth0" );
>
> > EPRT |2|fe80::213:72ff:fe8e:6d99|34168|
> < 425 Can't create the data socket: Invalid argument

Sorry, but I can't see how this is anything but proofs that your server is not
ipv6-capable.

The way I read RFC2428 and the EPRT definition, these are all examples on how
the command can be sent.

Can you do ipv6 FTP operations against this server with any other tool?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-08-30