The following constants define all the possible return values for Xceed FTP Library methods that return a value of type HRESULT. The error codes also apply to some event parameters such as the ProcessCompleted event's lResult parameter. The declarations for these error codes are built into the library's "Type Library" (see the EXFError enumeration) and should automatically be accessible by your code.
Visual Basic users should use the Err object in their error handling code. It provides a textual description of the error code when needed.
Delphi users can trap the EOleException exception (include "comobj" in your unit’s Uses clause) and access the any of the exception object's properties for information about the error.
S_OK (The method call completed successfully. Value = 0)
E_INVALIDARG (An invalid parameter was passed to a method call. Value = 0x80070057)
E_OUTOFMEMORY (Not enough memory or system resources available. Value = 0x8007000E)
E_POINTER (A NULL pointer was passed to a method's [out] parameter. Value = 0x80004003)
E_UNEXPECTED (Unexpected condition occurred. Contact Xceed support! Value = 0x8000FFFF)
FTP_S_PROCESSSTARTED (success code)
FTP_S_FILESSKIPPED (success code with warning)
FTP_E_FIREWALL_CONNECTIONREJECTED FTP_E_FIREWALL_INVALIDUSERNAME |