Ok, I see this on source code, but the problem is that my proxy requires authentication, and are different from ftp connection, how I send the user and password to proxie?
Thanx -- Just have a look at the source code ftpcli.pas. Search for "proxy" and you'll find some background informations about proxy support. There are several kind of proxies... If you have a "transparent proxy", here are the steps (no programming needed !): 1) Instead of connection to a remote FTP server, you connect to the proxy 2) User name is replaced by user name, followed by '@' sign then followed by target remote FTP server host name. 3) Password is usual remote FTP server password. 4) Most require using Passive mode. Example: You want to connect to ftp.borland.com, using anonymous connection, company firewall/proxy is running on host named proxyserver. FtpCli1.HostName := 'proxyserver'; FtpCli1.UserName := '[EMAIL PROTECTED]'; FtpCli1.Password := '[EMAIL PROTECTED]'; FtpCli1.Passive := TRUE; Also have a look at properties having "proxy" or "socks" in their names and property ConnectionType. Once you have read that, feel free to ask more questions. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be ----- Original Message ----- From: "Cristian Gallas" <[EMAIL PROTECTED]> To: <email@example.com> Sent: Thursday, December 15, 2005 12:15 PM Subject: [twsocket] Ftp Client with proxie > > I think that is a simple question, so common, but i dont know how to > do this, i try and see that exist a propertie just to inform the proxie > address, but how to make a authentication in a proxie? My proxie > requires authentication, how to do this with ftp client component? > > Cenary > > proxy address: 192.168.0.10 > proxy user: user_proxy > proxy pass: pass_proxy > > ftp address: 192.168.0.5 > ftp user: ftp_myuser > ftp pass: ftp_mypass > > Thanx > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be