Article View: borland.public.cppbuilder.internet.socket
Article #1716Re: Indy9 - BCB5 - FTP server - port / data port problem
From: Hanne B
Date: Fri, 01 Dec 2006 13:22
Date: Fri, 01 Dec 2006 13:22
12 lines
1352 bytes
1352 bytes
Can a FTP Server only have one client using the data port at a time ? I have tried following code for the OnPASV event: static WORD vport = PSetup->FTPServerData; VPort = vport++; if (vport == PSetup->FTPServerData + 100) vport = PSetup->FTPServerData; After that several client could be receive data - but it seems not to be the right solution !
Technical Details
Message-ID:
<45702c64$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.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 Reply-To: "Hanne B" <hb@aeromark.dk> From: "Hanne B" <hb@aeromark.dk> Newsgroups: borland.public.cppbuilder.internet.socket References: <45531d9b$1@newsgroups.borland.com> Subject: Re: Indy9 - BCB5 - FTP server - port / data port problem Date: Fri, 1 Dec 2006 14:22:12 +0100 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 83.91.195.110 Message-ID: <45702c64$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1164979300 83.91.195.110 (1 Dec 2006 05:21:40 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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