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