Sets the internet proxy to use for ftp access.
FtpSetProxy ( mode [, "proxy:port" [, "username" [, "password"]]] )
| mode | The proxy mode to use: 0 = (default) Use current Internet Explorer settings for proxy. 1 = Use no proxy (direct access) 2 = Use the proxy specified |
| proxy:port | [optional] The address and port of the proxy to use. See remarks below. |
| username | [optional] If required, the username for the proxy |
| password | [optional] If required, the password for the proxy |
; Use no proxy
FtpSetProxy(1)
; Use IE defaults for proxy
FtpSetProxy(0)
; Use the proxy "www-cache.myisp.net" on port 8080
FtpSetProxy(2, "www-cache.myisp.net:8080")