Re: id ftp server stream directly to database

Giganews Newsgroups
Subject: Re: id ftp server stream directly to database
Posted by:  Maarten Bakker (m.j.bakk…@planet.nl)
Date: Mon, 21 Mar 2005

Hi,  Is there any way to store the file into a private tmemorystream or
tstream variable?
I thought it should be like this:

  private
  FotoStream : TMemoryStream;

procedure TForm1.IdFTPServer1StoreFile(ASender: TIdFTPServerThread;
  const AFileName: String; AAppend: Boolean; var VStream: TStream);
begin
  VStream := FotoStream.Create;
end;

Replies

In response to

id ftp server stream directly to database posted by Maarten Bakker on Thu, 17 Mar 2005