server task file cat

Returns the contents of a specified file to the administration console. This command requires authentication of administrator ID and password.

server task server_name file cat file_name byte_offset [-max bytes] [-encode]

Options

Authorization

Users and groups that require access to this command must have the s (administration) permission in the ACL that governs the /WebSEAL/host_name-instance_name object. For example, the sec_master administrative user has this permission by default.

Return codes

For information about WebSEAL junctions, see the Administering topics in the IBM Knowledge Center.

This command is available only when WebSEAL is installed.

Example

The following example requests the first 512 bytes of data (base-64 encoded) from the readme.txt file. The file is in the /temp/ folder on server03:
pdadmin> server task server03 file cat /temp/readme.txt 0 -max 512 -encode
The output is the content of the specified file.

Parent topic: pdadmin commands