GetExtendedErrorCode Method
Class: FTP_SERVICE
Description:Returns the extended error code that was generated during the last function call
This method returns the extended error code that was generated during the last function call.
=
Object.GetExtendedErrorCode
()
Return value Numeric
Returns an extended error code.
Example
LOCAL loFTP,lcPom #INCLUDE "ftp.h" SET PROCEDURE TO ftp.prg ADDITIVE loFTP=CREATEOBJECT('ftp_service') IF loFTP.OpenInternet("ABONNE", "PWD", "10.10.10.10", "21") IF !loFTP.ChangeFTPDirectory("_!_"+CHR(1)+CHR(9)) ?loFTP.GetExtendedErrorCode() ENDIF =loFTP.CloseInternet() ENDIF RELEASE PROCEDURE ftp.prg
See also
Expand/Collapse source code of procedure GetExtendedErrorCode Source Code
      RETURN This.nExtended_Result