Back to product page

Login property


Login (username) information that will be sent to the server.

Type

String.

Syntax

  • C#
  • VB.NET
String Login {get; set; };

Property Login As String

Remarks

This value MUST be set for wodSFTP.NET to work. SSH protocol specification (on top of which SFTP is running) requires that login/password (or login/publickey) information is sent during 'handshake' - so there's no user interaction in the login process.

Together with Password property, all the information needed for successful authentication with remote server is stored in these two properties.

Besides Password authentication, you can also use PublicKey authentication, where you must supply valid PrivateKey.

Platforms

Windows