Server-Side FTP Upload Resume

Giganews Newsgroups
Subject: Server-Side FTP Upload Resume
Posted by:  virtek (virte…@hotmail.com)
Date: Thu, 17 Jul 2003

Hello everyone.

Suppose a client want to download a new file from the server created with
TIdFTPServer, OnRetrieveFile server event will be fired and the VStream
parameter will be linked to an opened TFileStream and the upload will start
smoothly.

But what will happen if the client wants to resume an existing download ?
the client shouldn't have a problem do it using TIdFTP Get() procedure with
AResume boolean set to true. But How TIdFTPServer will respond to that ?

The big question is, How do I tell TIdFTPServer to resume upload (and how it
knows when there is one) ?

Many thanks,

David

Replies