ftptrcon()

The ftptrcon() call opens the trace file specified and starts tracing.

Syntax

#include <ftpapi.h>

int ftptrcon(fileSpec, mode)
char *fileSpec;
int mode;

Parameters

fileSpec

mode

Description

The ftptrcon() call opens the trace file specified and starts tracing of the command and reply sequences sent over the control connection between the local and remote hosts. The trace file can be written over or appended to.

No notification is provided if writing of trace data fails.

Telnet command and reply sequences are not traced nor are command and reply sequences between the local host and a proxy host.

Return Values

There are three possible return values for ftptrcon():