Setting the proxy user and proxy password when connecting via HTTP proxy

Check also Multipart Multithreaded Downloading

procedure TfmTestDownloader.btDownLoadClick(Sender: TObject);   
begin   
   if clDownloader1.IsBusy then Exit;   
 
   clDownloader1.HttpProxySettings.UserName := 'Test';   
   clDownloader1.HttpProxySettings.Password := 'psw';   
 
   clDownloader1.URL := 
        'http://www.clevercomponents.com/checknews/clnews.html';   
   clDownloader1.LocalFile := 'clnews.html';   
   clDownloader1. HttpProxySettings.Server := 
        'http://www.freeproxy.com';   
   clDownLoader1.Start();   
end

Add Feedback