Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IPv6-support in FTP functions of wininet?

16 views
Skip to first unread message

Thomas Kluge

unread,
Apr 27, 2009, 9:25:32 AM4/27/09
to
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]

unread,
Apr 27, 2009, 10:51:20 AM4/27/09
to
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

"Thomas Kluge" <T.K...@t-systems.com> wrote in message
news:OqYbluzx...@TK2MSFTNGP04.phx.gbl...

0 new messages