AutoIt Language Reference (FtpSetProxy)

[ KiXtart  VBScript  Batch  AutoIt  HTA  PowerShell  Windows Command Lines  Other Command Line Utilities  ]


FtpSetProxy  (Function)

Syntax
FtpSetProxy ( <mode> [, "<proxy>:<port>" [, "<username>", "<password>"]] )

Parameters
mode = proxy mode to use:
   0 = current Internet Explorer settings for proxy (default)
   1 = Use no proxy (direct access)
   2 = Use the proxy specified

proxy:port = address and port of the proxy to use (optional)

username = username for the proxy (optional)

password = password for the proxy (optional)

Description
Sets the internet proxy to use for ftp access

Return Values
Success = 1
Failure = 0

Example
FtpSetProxy(2, "www.myproxy.com:8080")

If your proxy was "www.myproxy.com" and port was "8080" (this is typically the port used by most) then you would use the above function syntax to se the proxy.

Remarks
IE version 3 or greater must be installed for this to work.

Only CERN proxy servers are supported.

Also see:
HttpSetProxy  InetGet  InetGetSize  


 
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: 10/5/2005. This page has been viewed 2035 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.

Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."



iTripoli prides itself on providing top notch customer service

Find answers or open a ticket to ask directly, when opening a ticket we will suggest relavant articles to help you get answers as quickly and accurately as possible. Visit our support center now!

Please visit our full support center to find answers quickly or submit questions or feedback.