Napriklad tento priklad nefunguje cez proxy:

CONST Addr = 'https://moja.tatrabanka.sk';
begin
  WITH THTTPSend.Create DO begin
    IF HTTPMethod('GET', Addr) THEN begin
      ShowMessage('OK direct');
    end ELSE begin
      ShowMessage('Failed direct');
    END;
    ProxyUser := 'money';
    ProxyPass := 'money';
    ProxyHost := '192.168.0.3';
    ProxyPort := '4480';
    IF HTTPMethod('GET', Addr) THEN begin
      ShowMessage('OK through Proxy');
    end ELSE begin
      ShowMessage('Failed through Proxy');
    END;
    Free;
  END;

Preco?

<<< 20.6.2007 9:05 - Lukas Gebauer "[EMAIL PROTECTED]" >>>
>> I have set these properties for THTTPSend:
>> 
>>     ProxyHost
>>     ProxyPort
>>     ProxyUser
>>     ProxyPass
>> 
>> and for TTCPBlockSocket:
>> 
>>     SocksIP
>>     SocksPort
>>     SocksType
>>     SocksUsername
>>     SocksPassword
>> 
>> but the proxy connection works only in case of HTTP connection, but
>> not in case of HTTPS or SOCKS4 or SOCKS5.

LG> I tested both before a moment, and all working fine here.

LG> You can use HTTP proxy or Socks proxy, but not both at same time!

LG> However one or second working fine with HTTPS, I not see problem 
LG> here.







-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to