Receiving Files from Target SSH Servers

The following line depicts a typical DNI Receive from a target SSH server.

SSH Server Retrieve directory list > Internet Server > pDNI: Platform Server

SSH Server Receive files > Internet Server > pDNI: Platform Server

  • pDNI issues a command to get a directory list from the Internet Server and the target SSH Server. The command points to a virtual alias defined in the Internet Server Transfer definition. Internet Server finds a match on the initiating User and the Transfer definition virtual alias for a file download. The matching transfer definition defines the target Server where the file is transferred. In this case, the target server is an SSH server.

  • Internet Server initiates a connection to the target SSH server, passes credentials, issues a directory list command to the SSH server, and returns the directory list back to the Platform Server. pDNI can be configured to wait for a predefined interval to ensure that the file size and date or time modified has not changed before initiating the transfer.

  • pDNI detects a file that needs to be received.

  • pDNI initiates a Platform Server receive command (UNIX: cfrecv Windows: ftmscmd) to receive the file from Internet Server. The cfrecv or ftmscmd remote file name points to a virtual alias defined in an Internet Server transfer definition.

  • Internet Server finds a match on the initiating user and the transfer definition virtual alias for a file download. The matching transfer definition defines the target server where the file is transferred. In this case, the target server is an SSH server.

  • Internet Server initiates a connection to the target SSH server.

  • The SSH server validates the incoming credentials (password or SSH key).

  • The SSH server reads the file and sends data packets to Internet Server.

  • As packets are received, Internet Server converts the data from the SSH protocol to the Platform Server protocol and sends the packets to the defined Platform Server.

  • Platform Server receives data packets from Internet Server and writes the data to the requested file.

  • When the transfer completes, the PS-IS and IS-SSH connections gracefully terminates and audit records are written by both Platform Server and Internet Server.

  • pDNI performs defined Post Actions to ensure that the file is not transmitted again. If the transfer was unsuccessful, pDNI can retry the transfer at the next scan interval.

To receive files from target SSH servers, complete the following steps.

    Procedure
  1. Configure the Internet Server Platform Server service and start the Platform Server service.

  2. Configure a server definition to define the connectivity and credentials for the target SSH server.

  3. Create a user definition for the incoming client request.

  4. Configure Platform Server definitions needed to connect to Internet Server.

  5. Create a transfer definition that uses the defined user and server definitions.

  6. Create and configure the pDNI template.

  7. Start the pDNI template.

  8. Verify that the pDNI template is transferring files

Note: The first four steps are common for DNI Send and DNI Receive and are reproduced here. You do not need to perform these steps if they have already been performed.