Einzelnen Beitrag anzeigen

freejay

Registriert seit: 26. Mai 2004
Ort: Nürnberg
272 Beiträge
 
Delphi 11 Alexandria
 
#8

AW: INDY: FTP via Proxy (schon wieder...)

  Alt 24. Mär 2014, 13:58
Hallo,

unter TidFTP.ProxySettings.ProxyType gibt es folgende Möglichkeiten:

Delphi-Quellcode:
  TIdFtpProxyType = (
    fpcmNone,//Connect method:
    fpcmUserSite, //Send command USER user@hostname - USER after login (see: http://isservices.tcd.ie/internet/command_config.php)
    fpcmSite, //Send command SITE (with logon)
    fpcmOpen, //Send command OPEN
    fpcmUserPass,//USER user@firewalluser@hostname / PASS pass@firewallpass
    fpcmTransparent, //First use the USER and PASS command with the firewall username and password, and then with the target host username and password.
    fpcmUserHostFireWallID, //USER hostuserId@hostname firewallUsername
    fpcmNovellBorder, //Novell BorderManager Proxy
    fpcmHttpProxyWithFtp, //HTTP Proxy with FTP support. Will be supported in Indy 10
    fpcmCustomProxy // use OnCustomFTPProxy to customize the proxy login
  ); //TIdFtpProxyType
Ich habe sie alle schon ausprobiert.

Ich weiß aber auch gar nicht, ob dieser ProxyType überhaupt greift, wenn man einen IdIOHandlerStack mit einem IdConnectThroughHttpProxy dran hängt (was in anderen Postings vorgeschlagen wurde)...

Ich habe auch schon probiert, meine Zugangsdaten nur bei den ProxySettings ein zu tragen - ohne das "IdIOHandlerStack-IdConnectThroughHttpProxy"-Konstrukt: ging auch nicht...
[Delphi 11.3.1 Enterprise; Win10/11; MySQL; VCL]
  Mit Zitat antworten Zitat