🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2651

Re: How can I get the event when the transfer is finished in FTP?

#2651
From: Remy Lebeau (TeamB)
Date: Mon, 06 Mar 2006 18:29
15 lines
1505 bytes
"Leo Zhang" <zhangshile342@yahoo.com.cn> wrote in message
news:440b7b7f$1@newsgroups.borland.com...

> Hi all. I'm developing a FTP server using Indy FTP Server. I
> want to do sth on the server as soon as the file uploading is
> finished. How can I capture this event?

There currently is no event available for that.  The only option is to
derive your own TStream class, instantiate it in the OnStoreFile event,
track what you need to while the file is being streamed, and then finally do
what you need to when the stream is being destroyed.


Gambit
Technical Details
Message-ID: <440c7f44$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.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
References: <440b7b7f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4877f981d73f8c3b
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: <440b7b7f$1@newsgroups.borland.com>
Subject: Re: How can I get the event when the transfer is finished in FTP?
Date: Mon, 6 Mar 2006 10:29:30 -0800
Lines: 17
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: 68.69.17.41
Message-ID: <440c7f44$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1141669700 68.69.17.41 (6 Mar 2006 10:28:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.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