Use variogxferlog to View a Log of Server Transactions

The xferlog file gives a log of what transactions have occurred with the FTP server. Depending on the settings in the /etc/ftpaccess file, the contents of this file can contain the files sent or received by who with a date stamp. Table 23.5 lists the fields of this file. The same information can also be found in the corresponding man page included in the wu-ftp package.

Table 23.5. /var/iog/xferlog Fields

Field current-time transfer-time remote-host file-size filename transfer-type special-action-flag direction access-mode


Current local time in the form of DDD MMM dd hh:mm:ss YYYY, where DDD is the day of the week, MMM is the month, dd is the day of the month, hh is the hour, mm is the minutes, ss is the seconds, and YYYY is the year.

Total time in seconds for the transfer.

Remote hostname.

Size of the transferred file in bytes.

Name of the file.

A single character indicating the transfer type. The types are a for ascii transfers. b for binary transfers.

One or more character flags indicating any special action taken by the server.

The values are c for compressed files.

u for uncompressed files.

t for TARed files.

- for no special action taken.

Indicates whether the file was sent from or received by the server.

The way in which the user logged in to the server. The values are a anonymous guest user.

g guest user, corresponding to the guestgroup command in the

/etc/ftpaccess file.

r real user on the local machine.

If the access mode was guest, the password is given.


The name of the service used, usually FTP.


Description authentication-method authenticated-user-id completion-status

Type of authentication used. The values are 0: none.

1: RFC931 Authentication (a properly formed email address).

This is the user ID returned to the server based on the authentication method used to access the server. An * is used when an authenticated user ID cannot be found.

A single character field indicating the status of the transfer. The values are c: completed transfer. i: incomplete transfer.

An example of this file is seen in Listing 23.5.

Was this article helpful?

0 0

Post a comment