Article View: borland.public.cppbuilder.internet.socket
Article #1773Re: Indy9 - BCB5 - FTP server - port / data port problem
From: Remy Lebeau (TeamB)
Date: Thu, 09 Nov 2006 17:48
Date: Thu, 09 Nov 2006 17:48
29 lines
1926 bytes
1926 bytes
"Hanne B" <hb@aeromark.dk> wrote in message news:45531d9b$1@newsgroups.borland.com... > Is Indy9 FTP server not capable of using another port than 21 ? Yes, it is. Just like with any other Indy TCP-based server, use the DefaultPort property to specify the port. You have to set the DefaultPort before adding any entries to the Bindings property. If there are any entries in the collection, then you will have to either clear the collection and readd them, or else update the Binding.Port property manually. > I have a FTP server on a local PC where I would like to use another port > than the default port 21 eg. 2521 Use the DefaultPort property. > and data port 2520 Use the DefaultDataPort property. > When a client connects everything is ok until the dataport is going > to be used when the client wants to retrieve a files. > The communication stops after the OnPASV event. Please be more specific. What EXACTLY is being sent to the client? Gambit
Technical Details
Message-ID:
<45536aa5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45531d9b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,fb84c326d542fc4d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <45531d9b$1@newsgroups.borland.com> Subject: Re: Indy9 - BCB5 - FTP server - port / data port problem Date: Thu, 9 Nov 2006 09:48:08 -0800 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <45536aa5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163094693 69.169.4.232 (9 Nov 2006 09:51:33 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail