Article View: borland.public.cppbuilder.internet.socket
Article #399Re: IdFTPServer server and firewall
From: roladdon
Date: Wed, 09 Apr 2008 04:33
Date: Wed, 09 Apr 2008 04:33
17 lines
1561 bytes
1561 bytes
I found the problem - and it works now:
in:
IdFTPServer1PASVReply(TIdFTPServerContext *ASender, AnsiString &VIP, WORD
&VPort, const TIdIPVersion AIPVer)
{
VIP = "65.94.66.176"; // my public IP
}
VIP seems to be set to the local IP.
So - the question is - where in the FTPServer component is the best place to
get the public IP from.
- it is already known - because the client already connected on port 21
thanks,
Roland
Technical Details
Message-ID:
<47fc471d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!feeder2.ecngs.de!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<47fbd697@newsgroups.borland.com> <47fbdfde$1@newsgroups.borland.com> <47fc0c8a@newsgroups.borland.com> <47fc0dc4$1@newsgroups.borland.com> <47fc1653@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3bf5299e11a8ee87 X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "roladdon" <roladdon@PutMyServerHere.ca> From: "roladdon" <roladdon@PutMyServerHere.ca> Newsgroups: borland.public.cppbuilder.internet.socket References: <47fbd697@newsgroups.borland.com> <47fbdfde$1@newsgroups.borland.com> <47fc0c8a@newsgroups.borland.com> <47fc0dc4$1@newsgroups.borland.com> <47fc1653@newsgroups.borland.com> Subject: Re: IdFTPServer server and firewall Date: Wed, 9 Apr 2008 00:33:34 -0400 Lines: 19 Organization: AddOn X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 65.94.56.175 Message-ID: <47fc471d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1207715613 65.94.56.175 (8 Apr 2008 21:33:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!feeder2.ecngs.de!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mail