File Transfer Initiated by pDNI to Target SSH Server
-
Go to pDNI > Platform Server > Internet Server > SSH Server.
-
pDNI scans a directory to determine if a file should be sent. 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 sent.
-
pDNI initiates a Platform Server send command (UNIX:
cfsendWindows:ftmscmd) to send the file to Internet Server. Thecfsendorftmscmdremote file name will point 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 upload. The matching transfer definition defines the target server where the file will be 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).
-
As packets are received, the SSH server writes the file to the defined location.
-
Platform Server sends data packets to Internet Server. As packets are received, Internet Server converts the data from the Platform Server protocol to the SSH server protocol and sends the packets to the defined SSH server.
-
pDNI performs defined post actions to ensure that the file is not transmitted again. If the transfer is unsuccessful, pDNI can retry the transfer at the next scan interval.
Sending Files to Target SSH Server
To send files to a target SSH server, complete the following steps.
- Procedure
-
Configure the Internet Server Platform Server service and start the Platform Server service.
-
Configure a server definition to define the connectivity and credentials for the target SSH server.
-
Create a transfer definition that uses the defined user and server definitions.
DNI Send and DNI Receive.