YedFtpPipe - Get_Passwd, Set_Passwd

NAME:
Get_Passwd
Set_Passwd

SYNOPSIS:
SCHAR *Get_Passwd(void *pvO);
SINT Set_Passwd(void *pvO,SCHAR *pscNewPasswd);

DESCRIPTION:
These methods are used to get or set the password of user name in FTP connection. In case of setting a new password, pscNewPasswd points to the new password. pvO is the instance of the object invoking the method.

RETURN VALUE:
The method Get_Passwd returns a pointer to the password initialized in object instance. This password can be a string of length 0, if it has not been initialized.
The method Set_Passwd returns YFTSUCCESS if the password has been correctly initialized, YFTINVALIDPARAM if the length of pscNewPasswd string is greater than maximum size of private string containing password.
WARNING: pscNewPasswd is a readable string and it is stored in not encrypted mode.


http://yed.sourceforge.net