FTP Cmd - RETR event

The file download event occurs when a file is in the process of being downloaded. An agent triggered by this event should write the file content data to the output stream.

The following topics provide detailed information about the FTP Cmd - RETR event:

Related topics:

Environment variables

DXAGENT_TARGET

DXAGENT_FULLTARGET

DXAGENT_XFERTYPE

Exit codes

Exit Code Result
-64 General failure
-2 No such file or directory.
-1 Permission denied.
0 OK.
1 Command not implemented.

Output stream

Contents of File

Note For text files, RETR sends the file with native line endings. The server automatically translates line endings as needed.

Related Links