Article View: borland.public.cppbuilder.internet.socket
Article #1370Re: Indy 9 TrivialFTP Questions:
From: Paul at NCF
Date: Tue, 13 Feb 2007 20:25
Date: Tue, 13 Feb 2007 20:25
26 lines
2083 bytes
2083 bytes
Hi,
If syncronous, and my client app has put("f1.tx") followed by put("f2.txt"),
then I would expect the server log to show:
"write", "transfer complete"
"write", "transfer complete"
but I get
"write", "write",
"transfer complete", "transfer complete"
eg.
2007-02-13 08:01:24:0554 : IdTrivialFTPServerWriteFile
2007-02-13 08:01:24:0995 : IdTrivialFTPServerWriteFile
2007-02-13 08:01:26:0497 : IdTrivialFTPServerTransferComplete
2007-02-13 08:01:26:0968 : IdTrivialFTPServerTransferComplete
Paul
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:45d18c50$1@newsgroups.borland.com...
> And the problem is...? That is how it is supposed to work. When
> TIdTrivialFTPServer receives a request for a file, it triggers the
> OnReadFile or OnWriteFile event to obtain the appropriate TStream
> object for the file, and then reads/writes all of the file data until
> finished, at which time the OnTransferComplete event is triggered.
Technical Details
Message-ID:
<45d21eae@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45cee6cb@newsgroups.borland.com> <45cf9149$1@newsgroups.borland.com> <45d02a9b@newsgroups.borland.com> <45d02e46$1@newsgroups.borland.com> <45d17236@newsgroups.borland.com> <45d18c50$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,345d5958a6f3add0 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Paul at NCF" <notplmacca@clara.co.uk> Newsgroups: borland.public.cppbuilder.internet.socket References: <45cee6cb@newsgroups.borland.com> <45cf9149$1@newsgroups.borland.com> <45d02a9b@newsgroups.borland.com> <45d02e46$1@newsgroups.borland.com> <45d17236@newsgroups.borland.com> <45d18c50$1@newsgroups.borland.com> Subject: Re: Indy 9 TrivialFTP Questions: Date: Tue, 13 Feb 2007 20:25:41 -0000 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 86.132.255.221 Message-ID: <45d21eae@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1171398318 86.132.255.221 (13 Feb 2007 12:25:18 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail