Introduction
The main features of SFTP file transfer in JADE are: TOBE COMPLETED
- only authentication with SSH - e.g. authentication with an account name and either a password or a public key - can be carried out.
SFTPFragments are used with BasicConnections that require at least a host name or IP address and optionally a port number.
As with all file transfer protocols, any number of SFTP file transfer configurations in the form of ProtocolFragments can be pre-configured and selected as required.
Operations around SFTP file transfer
JADE can carry out the following operations in conjunction with SFTP file transfer:
- pre- and post-processing operations, both for the source part of the transfer (i.e. pickup) and the target part (i.e. put down)
- file renaming
- zlib file compression
The configuration of these operations is described in detail on this page.
Additional transfer features
JADE can also carry out:
- strict host key checking: LINK
Specification of SFTP File Transfer Elements
The key element in the JADE XML schema for the specification of a file transfer by FTP is the SFTPFragmentRef element. This element is part of the Profiles branch of the schema and a direct descendant of operation source or target elements such as CopySource or MoveTarget. The SFTPFragmentRef element can be specified for the source and/or target parts of the operation.
The SFTPFragmentRef element itself contains a reference to the SFTPFragment to be used for this part of the transfer. SFTPFragment elements are specified in the Fragments branch of the schema and may not be specific to the current transfer operation.
Note that the SFTPFragment reference, which is specified as a name attribute of the SFTPFragmentRef element, is not shown in the XSD schema hierarchy diagram below.
In addition, as shown in the first diagram below, the SFTPFragmentRef element has four child elements that are optional but define aspects of the operation that are SFTP-specific: SFTPPreProcessing, SFTPPostProcessing Rename and ZlibCompression. These elements are described in detail as part of the SFTPFragmentRef below.
The SFTPFragmentRef Element