Hitachi

uCosminexus Service Platform Reference Guide


csmftplshistory (Displaying the transmission log)

Organization of this page

Format

csmftplshistory J2EE-server-name
 [-csv output-file-path]
 [-date display-start-date-and-time,display-end-date-and-time]

Function

Displays the transmission log.

For details on how to use this command, see 5.4.18 Acquiring the transfer history in the uCosminexus Service Platform Setup and Operation Guide.

Arguments

J2EE-server-name

Specifies the name of the J2EE server specified when HCSC starts.

If you specify the name of a J2EE server, for which the setup has been removed, the transmission log that is already collected by this J2EE server is displayed.

-csv output-file-path

Outputs the transmission log to a CSV file. Specify the output file path as an absolute or relative path. However, in Windows, you cannot specify a relative path with a drive letter (example: C:temp\history.csv). If this option is omitted, the transmission log is output to the standard output.

-date display-start-date-and-time,display-end-date-and-time

Specify this option when the transmission command start date and time outputs only the transmission log from the display start date and time to the display end date and time.

Specify the display start date and time and the display end date and time in the following format:

  • Display start date and time: Specify the date and time in the YYYYMMDDhhmmss format.

  • Display end date and time: Specify the date and time in the YYYYMMDDhhmmss format.

    YYYY: Year (1970 [Figure]YYYY)

    MM: Month (01 [Figure]MM [Figure]12)

    DD: Date (01 [Figure]DD [Figure]31)

    hh: Hours (00 [Figure]hh [Figure]23)

    mm: Minutes (00 [Figure]mm [Figure]59)

    ss: Seconds (00 [Figure]ss [Figure]59)

In the display end date and time, if you specify a value that is older than the display start date and time, nothing is displayed. Also, if the transmission command start date and time is not stored in the transmission log due to reasons such as the abnormal termination of the transmission processing, that transmission log is not displayed.

Output format

Description

Display item

Description

TransferID

Indicates a unique number for each transmission. This forms the PRF root application information.

The ID is displayed in the format xxx.xxx.xxx.xxx/aaa/bbb.

  • xxx.xxx.xxx.xxx: IP address of the root application

  • aaa: Process ID of the root application

  • bbb: Root communication number

UserName

Indicates the name of an authenticated user.

ServerFileName

Indicates the server file name for which a transmission has been requested from the client.

The name is displayed in the format /assigned-identifier/file-name.

TransferType

Indicates the transfer type. One of the following is displayed:

  • RETR: Transmission of files from the server to the client

  • STOR: Transmission of files from the client to the server

  • APPE: Transmission of files from the client to the server (additional writing to a file on the server)

TransferMode

Indicates the transmission mode specified for the transmission request.

  • ASCII: ASCII mode

  • BINARY: BINARY mode

CompressionMode

Indicates the compression mode specified for the transmission request.

  • compress: Compress

  • uncompress: Uncompress

  • unknown: Data connection failed to open

Status

Indicates the end status of file transmission.

  • SUCCESS: File transmission is successful

  • FAILURE: File transmission failed

TransferCmdStartTime

Indicates the time at which the transmission command was received and the transmission command processing started.

The time is displayed in the format YYYY/MM/DD HH:MM:SS.mmm.

  • YYYY: Year

  • MM: Month

  • DD: Date

  • HH: Hours

  • MM: Minutes

  • SS: Seconds

  • mmm: Milliseconds

  • *****: An error occurred before the processing of the transmission command started

TransferCmdEndTime

Indicates the time at which the processing of the transmission command ended.

The time is displayed in the format YYYY/MM/DD HH:MM:SS.mmm.

  • YYYY: Year

  • MM: Month

  • DD: Date

  • HH: Hours

  • MM: Minutes

  • SS: Seconds

  • mmm: Milliseconds

TransferCmdTime

Indicates the total time required for the processing of the transmission command.

The time is displayed in the format ss.SSS.

  • ss: Seconds

  • SSS: Milliseconds

  • *****: An error occurred before the processing of the transmission command started

TransferStartTime

Indicates the time at which the file transmission started.

The time is displayed in the format YYYY/MM/DD HH:MM:SS.mmm.

  • YYYY: Year

  • MM: Month

  • DD: Date

  • HH: Hours

  • MM: Minutes

  • SS: Seconds

  • mmm: Milliseconds

  • *****: An error occurred before the transmission started

TransferEndTime

Indicates the time at which the file transmission ended.

The time is displayed in the format YYYY/MM/DD HH:MM:SS.mmm.

  • YYYY: Year

  • MM: Month

  • DD: Date

  • HH: Hours

  • MM: Minutes

  • SS: Seconds

  • mmm: Milliseconds

  • *****: Transmission failed

TransferTime

Indicates the total time required for the file transmission.

The time is displayed in the format ss.SSS.

  • ss: Seconds

  • SSS: Milliseconds

  • *****: Transmission failed

TransferSize

Indicates the data size of the transmitted file in bytes.

If the transmission fails, -1 is displayed.

ClientIP

Indicates the IP address of the client that requested the transmission.

ClientPort

Indicates the port number of the client that requested the transmission.

Return values

Return value

Meaning

0

The command terminated normally.

1

The command terminated abnormally.

3

An exclusion error occurred.

9

An error occurred when checking the execution permission.

Notes