Main page

(frames) (no frames)
About FTP4ALL Getting started Controlling the Server Help and Support Debug and Development
concepts download SITE commands FAQs debug
credits compilation, installation, startup registry helpdesk F4ADP
history config files upgrade from 2.x changelog
license FTP messages

Debug facilities in F4A (Developers only)

Debug at compile Time

run the configure script with the argument gdb or debug. This will create different Makefiles, which generate more debug info (compiler option -g), output all warnings (compiler option -Wall) and do not strip the debug info from the binaries. The difference between debug and gdb is, that debug also creates a debug file (ftp4all.debug) at runtime and logs all F4ADP calls in there.

Runtime ftps

The command SITE DUMP has been modified to output internal data areas of ftps (command SITE DUMP of v2.x was obsolete anyway). SITE DUMP takes the arguments: Invoked with one of these arguments, SITE DUMP outputs appropriate information

Runtime ftpd

To trace all system library calls, run ftpd in the foreground with the -f switch (e.g. strace ftpd -f)

Several commands have been added to the F4ADP to dump various data areas. To use this commands, telnet to the admin port and login using the command ULP <ident> root <password> (You need superuser privileges). Then issue one of the following commands:

To log out, use the command QUIT. (All commands uppercase !).