Programming with Reflection

image\rwnprg32.gif Errors Returned by FTP Automation

 

The following table lists the symbolic constant names, numeric values, and meanings of runtime errors that FTP Automation returns; symbolic names are listed alphabetically.

The LastError property can be used to query the error code, and the LastErrorString can be used to query the entire server reply string.

These errors are specific to Reflection FTP Automation and are defined in the Reflection FTP Type Library Rftpcom.tlb. Click here to see a list of errors returned by the FTP server.

Numeric Value

Symbolic Error Name

Meaning

0

rcReflectionFTP_Success

Operation successful

536870913

rcReflectionFTP_EAssertion

Internal assertion failure

536870914

rcReflectionFTP_EPasvConnectFailed

Cannot establish passive data connection

536870915

rcReflectionFTP_EConnectFailed

A connection cannot be established

536870916

rcReflectionFTP_ECannotWrite

Cannot write over socket

536870917

rcReflectionFTP_ECancelled

Command cancelled

536870918

rcReflectionFTP_ECannotResolveHost

Cannot resolve host address

536870919

rcReflectionFTP_EQueueFull

Cannot add job to queue

536870920

rcReflectionFTP_EOutOfMemory

Out of memory

536870921

rcReflectionFTP_ELoginFailed

Login failed

536870922

rcReflectionFTP_EInvalidArg

Invalid arguments

536870923

rcReflectionFTP_EInvalidPath

Invalid local path

536870924

rcReflectionFTP_EUnknownCommand

Unknown command

536870925

rcReflectionFTP_EAlreadyConnected

Already connected

536870926

rcReflectionFTP_ENotConnected

A connection has not been established

536870927

rcReflectionFTP_EMoreArgs

Command needs more argument(s)

536870928

rcReflectionFTP_EInvalidSite

Invalid FTP site

536870929

rcReflectionFTP_ECannotComplete

Cannot complete the request

536870930

rcReflectionFTP_ECannotAccessSourceFolder

Cannot access source folder

536870931

rcReflectionFTP_ECannotAccessDestFolder

Cannot access destination folder

536870932

rcReflectionFTP_ECannotCreateFolder

Cannot create folder

536870933

rcReflectionFTP_ECannotGetAttribute

Cannot get file attribute

536870934

rcReflectionFTP_ENotSupported

This setting is no longer supported

536870935

rcReflectionFTP_EFileSkipped

File already exists. Skip copying this file

536870936

rcReflectionFTP_EConnectionTimedOut

Connection timed out

536870937

rcReflectionFTP_EDataSocketTimedOut

Data socket timed out

536870938

rcReflectionFTP_EConnectionDropped

Connection dropped

536870939

rcReflectionFTP_EInvalidDisposition

Invalid disposition value

536870940

rcReflectionFTP_EKerberosError

Kerberos error

536870941

rcReflectionFTP_EAuthenticationFailed

Kerberos authentication failed

536870942

rcReflectionFTP_EFileNotFound

File Not Found