IBM Support

Directory (dir) Command

Question & Answer


Question

Directory (dir) Command

Answer

Directory (dir) Command

Use the Directory (dir) commandto generate a detailed listing of all files currently available fordownload in the /receive directory.

Thefollowing is an example script using the dir command.An explanation of each field within the directory command output followsthe example script.

Client Command:

dir

Server Response:

-rw-rw-rw1SX123001users1034Apr1321:15322322850902129928169054_1
-rw-rw-rw1SX123001users591Apr1415:11322329310601390029614837_1

Field descriptions

Column
Definition
File Type/
File Permissions

Values for this field are:

  • d (only in the first position)?directory
  • r?read permission
  • w?write permission
  • x?execute permission

    For files the values here willalways be -rw-rw-rw.

    For directories the values herewill always be -drw-rw-rw.

Links

For files the value in this column will always be 1.

Fordirectories the value in this column will always be 2.

FTP User ID

Your FTP user ID.

Group

The value in this column will always be users.

File Size

The size of the file in bytes.

Processing Date and Time

For data to be downloaded this value is the time the networkprocessed the data.

For data that has been uploaded this valueis the time of arrival on the Sterling B2B CollaborationNetwork FTPserver.

For directories this value is the time you logged in.

Thetime is formatted as HH:MM on a 24-hour clock (in UTC time).

File Name

The name of the file.

For data to be downloaded thisfile name is used in get and mget commands.


"

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 December 2018

UID

ibm10758195