FTP External IP Address - Part 1 - Active Mode

Giganews Newsgroups
Subject: FTP External IP Address - Part 1 - Active Mode
Posted by:  J Eisenheim (j.eisenhe…@gmail.com)
Date: Sat, 28 Jun 2008

Hi,

With the latest Indy10 snapshot I have a TidFTP connection in ACTIVE mode
(no proxy, no ssl).

The remote FTP server is Filezilla.

Testing the "Indy FTP Client Demo" works fine, sends the correct PORT
x,x,x,x,x,x command where I see my correct external ip address.

But in my project I always receive the  425 Can't open data connection
message. In this case indy always sends  PORT 127,0,0,1,X,X.

I have 3 network cards, one is used with a broadband (PPPOE) connection.

Can you explain how Indy10 finds the external ip address ?

Thanks,
LL

Replies