|
Summary
The password for the firewall authentication.
Description
The FwPassword property specifies the valid password required during authentication when establishing a connection via a firewall. A valid password is required when connecting to
SOCKS version 5 server if the authentication method (FwAuthMethods) specified is "2" (Username/Password authentication protocol).
This property can be changed at design time and at run time before a connection has been established by calling the FwConnect method (or setting the Action property to ACTION_FW_CONNECT).
The property does not have any default value.
Example
Ftp.FwAddrType = FW_ADDR_DNS Ftp.FwAuthMethods = "2" Ftp.FwUsername = "joe" Ftp.FwPassword = "distinct" Result = Ftp.FwConnect
("sparky.distinct.com", "1080", "speedy.distinct.com", "santa", "north pole", """")
If Result = False Then
MsgBox "Unable to connect to server via a firewall", 64, "Sample Program" End If
|