Discussion:
IPv6-support in FTP functions of wininet?
(too old to reply)
Thomas Kluge
2009-04-27 13:25:32 UTC
Permalink
I made some tests running my wininet ftp client against an IPv6 enabled
Windows 2008 FTP-Server on Vista
(wininet version: 7.0.6000.16809)
.
The first command failed was the passive mode command:
"500 Command not understood (use EPSV)"

If I use the command "EPSV":

FtpCommand( m_hFtpConnection, FALSE, FTP_TRANSFER_TYPE_BINARY,
"EPSV",0,&m_hFtpCommand)

the response is:

FTP: Response to Port 49416, '229 Entering Extended Passive Mode
(|||49192|)'

But wininet completely ignores the new assigned port 49192 and there will be
no data transmitted.

Any ideas?
Thomas
Paul Baker [MVP, Windows Desktop Experience]
2009-04-27 14:51:20 UTC
Permalink
Thomas,

I was peeking at the WinInet source code the other day to see how it
responds to the PASV command and I saw some comments in there about IPv6 and
EPSV. I cannot remember what I read. All I remember for sure is that it is
not supported fully. Does anyone else know?

Paul
Post by Thomas Kluge
I made some tests running my wininet ftp client against an IPv6 enabled
Windows 2008 FTP-Server on Vista
(wininet version: 7.0.6000.16809)
.
"500 Command not understood (use EPSV)"
FtpCommand( m_hFtpConnection, FALSE, FTP_TRANSFER_TYPE_BINARY,
"EPSV",0,&m_hFtpCommand)
FTP: Response to Port 49416, '229 Entering Extended Passive Mode
(|||49192|)'
But wininet completely ignores the new assigned port 49192 and there will
be no data transmitted.
Any ideas?
Thomas
Loading...