Go to the FTP Server Traces page for information on collecting a server trace. A trace with options FLO, SOC, FSC, INT, and UTL will be needed. The trace should be activated at startup using the FTP.DATA debug statement.
In addition to the server debug trace, a packet (SYSTCPDA) trace should be obtained in the event that the network interaction (on either the control or the data connection) need to be analyzed. Information on packet tracing can be found in Informational APAR II12014. Note that the server trace and the packet trace should be taken concurrently. This will ensure that the two traces contain the same instance of the error, and can therefore be compared appropriately.
If this server is using SSL, SEC should also be added to the list of FTP debug options. Additionally, a system SSL trace may be needed. Instructions on gathering this trace can be found on the FTP server and client SSL Diagnostics and Common Problems page.