[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange error with ftpapi
Hi Mario,
The address in a PASV response is sent from the FTP server to FTPAPI.
This appears to be a bug in the FTP server (or perhaps it's NAT gateway)
that is causing it to send you the wrong IP address information. Not
much I can do about that.
I don't know why FTPAPI isn't timing out, though... that might be a bug
in FTPAPI...? not sure how to debug/troubleshoot it, though.
On 2/14/2011 10:12 AM, Mario Martoriello wrote:
> Hi Dennis
> thank you for your answer.
> 1) I open the connection specifying the timeout (120) but after 2 min the
> connection doesn't stop and doesn't give me any -1
> 2) I know that the first 4 byte in parentheses are the IP address and the
> last 2 are the port number, what it sounds strange are the first 4 byte that
> when the proc hangs show an IP address different from the IP address which I
> connected.(see my log I connect to 80,19,175,115 and the other address is
> 192.168.100.3). Besides the file that I'm waiting isn't a very big file (80
> bytes to 250 bytes at all). I investigate with the ftp server provider and
> I understand that the 192.168.100.3 is their internal IP address. So how is
> possible this ?
> thanks again
> Mario
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------