Changes the currently logged-in user to the specified user without disconnecting from the FTP server.
Namespace: Jscape.FtpAssembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void ChangeUser( string user, string password ) |
Visual Basic |
---|
Public Sub ChangeUser ( _ user As String, _ password As String _ ) |
Visual C++ |
---|
public: void ChangeUser( String^ user, String^ password ) |
Parameters
- user
- Type: System..::..String
The username used to log in to the FTP server.
- password
- Type: System..::..String
The password used to log in to the FTP server.
Remarks
This function could be not implemented in a number of FTP servers. The ChangerUser method will send the REIN, USER and PASS commands to the FTP server.