YedFtpPipe - Get_User, Set_User
SCHAR *Get_User(void *pvO);
SINT Set_User(void *pvO,SCHAR *pscNewUser);
These methods are used to get or set the user name in FTP connection. In case of setting a new user name, pscNewUser points to the new user name. pvO is the instance of the object invoking the method.
The method Get_User returns a pointer to the user name initialized in object instance. The user name can be a string of length 0, if it has not been initialized.
The method Set_User returns YFTSUCCESS if the user name has been correctly initialized, YFTINVALIDPARAM if the length of pscNewUser string is greater than maximum size of private string containing user name.