Internet Direct (Indy) Version 9.0.1 Beta
|
procedure Get(const ServerFile: String; DestinationStream: TStream); overload; procedure Get(const ServerFile: String; const LocalFile: String); overload;
The version requiring a local filename creates a TFileStream, then calls the stream version of the Get method (it is freed automatically).
The stream version of the Get method transmits the stream, firing the onWork, onWorkBegin, onWorkEnd during the process.