csmftplshistory (Displaying the transmission log)

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 Collecting the transmission log in the uCosminexus Service Platform System 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:

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 itemDescription
TransferIDIndicates 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
UserNameIndicates the name of an authenticated user.
ServerFileNameIndicates 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.
TransferTypeIndicates 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)
TransferModeIndicates the transmission mode specified for the transmission request.
  • ASCII: ASCII mode
  • BINARY: BINARY mode
CompressionModeIndicates the compression mode specified for the transmission request.
  • compress: Compress
  • uncompress: Uncompress
  • unknown: Data connection failed to open
StatusIndicates the end status of file transmission.
  • SUCCESS: File transmission is successful
  • FAILURE: File transmission failed
TransferCmdStartTimeIndicates 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
TransferCmdEndTimeIndicates 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
TransferCmdTimeIndicates 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
TransferStartTimeIndicates 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
TransferEndTimeIndicates 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
TransferTimeIndicates the total time required for the file transmission.
The time is displayed in the format ss.SSS.
  • ss: Seconds
  • SSS: Milliseconds
  • *****: Transmission failed
TransferSizeIndicates the data size of the transmitted file in bytes.
If the transmission fails, -1 is displayed.
ClientIPIndicates the IP address of the client that requested the transmission.
ClientPortIndicates the port number of the client that requested the transmission.

Return values

Return valueMeaning
0The command terminated normally.
1The command terminated abnormally.
3An exclusion error occurred.
9An error occurred when checking the execution permission.

Notes