Back to product page

Password property


Determines the password to be used with the server.

Type

A String value. Holds your password for the server.

Syntax

  • Basic
object.Password [= value]
The Password(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSFTP.
valueA String value.

Remarks

You should enter a value here before calling the Connect method if password authentication is used (as it is by default).

An error will be generated if the wrong login/password combination is used with the remote server.

If your server requires the Keyboard-Interactive authentication method, you should set the Authentication property to AuthPassword. wodSFTP will try to authenticate first using the password and then with the Keyboard-Interactive method. If the Keyboard-Interactive method requires more than one challenge-response string to be sent, wodSFTP will send the contents of the Password property line-by-line. This means that if you expect more than one request, you should specify several lines of responses and put them all together in the Password property.

Platforms

Windows