Tc2_FTP: FTP Client Return Codes

The return codes for the Tc2_FTP library are listed below:

Hex

Dec

Description

0x00008001

32768 + 1 := 32769

Internal error TwinCAT FTP Client.

0x00008002

32768 + 2 := 32770

File error (e.g. file not found, access denied)

0x00008003

32768 + 3 := 32771

Transmission error (e.g. connection interrupted)

0x00008004

32768 + 4 := 32772

Error while connecting to the server. Connection could not be established.

0x00008005

32768 + 5 := 32773

No response received from the FTP server.

 

 

 

0x000081F4

32768 + 500 := 33268

Syntax error, command unknown. This may contain the error "Command line too long".

0x000081F5

32768 + 501 := 33269

Syntax error with parameters or arguments.

0x000081F6

32768 + 502 := 33270

Command not implemented.

0x000081F7

32768 + 503 := 33271

Incorrect sequence of commands.

0x000081F8

32768 + 504 := 33272

Command is not implemented for this parameter.

0x00008212

32768 + 530 := 33298

Not logged in.

0x00008214

32768 + 532 := 33300

Requires an account to save files.

0x00008226

32768 + 550 := 33318

Requested action not executed. File not accessible (e.g. file not found, no access).

0x00008227

32768 + 551 := 33319

Requested action aborted, page type unknown.

0x00008228

32768 + 552 := 33320

Requested file action aborted. Allocated memory exceeded (for current directory or file).

0x00008229

32768 + 553 := 33321

Requested action not executed. Filename not allowed.

0x000081A5

32768 + 421 := 33189

Service not available, closes control connections. This can be a response to any command if the service knows that it needs to shut down.

0x000081A9

32768 + 425 := 33193

Cannot open a data connection.

0x000081AA

32768 + 426 := 33194

Connection closed; transfer aborted.

0x000081C2

32768 + 450 := 33218

Requested file action not executed.

0x000081C3

32768 + 451 := 33219

Requested action aborted. Local error during processing.

0x000081C4

32768 + 452 := 33220

Requested action not executed. Insufficient storage space in the system. File not accessible (e.g. file in use).




Requirements

Development Environment

Target Platform

PLC Libraries to include

TwinCAT v3.0 Build 3102

PC or CX (x86)

Tc2_FTP