Hallo Everybody !!!!!!!!!!!!!
I am using the following procedure to download a file:
procedure DownloadFile(const Url, PathToSaveTo: string);
begin
fs := TFileStream.Create(PathToSaveTo, fmOpenWrite or fmCreate);
try
HttpGetBinary(Url, fs);
finally
fs.Free;
end;
end;
How to do the same to upload a file (maybe FTP ? username and password ? or HTTP ? or other way ?) Please, write the code like the one above.
Thank you very much in advance !!!!