CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    2

    Problem with wininet api - FTPPutFile for IPV6

    I am using Visual Studio 2003 .net for my project. The project uses wininet api to do some ftp operations on a remote ftp server. While trying to make my project ipv6 compliant , the FTPPuFile api is failing for an IPV6 address. The ftp server is returning "EPRT syntax error" although the connection to the ftp server is successful.

    on further seeing the packet trace, i found that the EPRT command (to open the FTP data connection) has the scope-id along with the IPV6 address.
    eg:-
    EPRT |2|fe80::abcd:1238%13|56424|

    %13 is the scope-id.

    The ftp server returns a syntax error as scope-id is a part of the EPRT command.

    So this is an error on the part of the wininet api

    Can somebody please help me overcome this problem
    Thanks
    Karthik

  2. #2
    Join Date
    Feb 2006
    Location
    Croatia - Zagreb
    Posts
    459

    Re: Problem with wininet api - FTPPutFile for IPV6

    There is a "Network Programming" forum board, maybe you should try asking your question there.
    You just divided by zero, didn't you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured