The prjBatch_Secure project contains three scenarios to demonstrate the SSL and SSH secure file transfer functions of the BatchFTPOverSSL, BatchSFTP, and BatchSCP OTDs.
The project uses inbound File Adapters to poll an external directory for a specific input file. When the file is present, the appropriate File Adapter triggers a Collaboration to do the following:
Scenario 1 - FTP Over SSL
Gets a file from a remote directory and publishes it to a local directory.
Publishes a file from local directory to a remote directory.
Downloads a file from a remote directory to a local directory.
Uploads a file from a local directory to remote directory.
Creates remote directories and lists them.
Deletes remote directories and lists the results.
Scenario 2 - SFTP
Gets a file from remote directory and publishes it to a local directory.
Creates a new remote directory
Changes directories to the newly created remote directory, and publishes a file there.
Renames the published file.
Deletes an unwanted file from remote directory.
Scenario 3 - SCP
Recursively gets a file from a remote directory and publishes it to a local directory.
Recursively puts a file from a local directory to a remote directory.
Gets a file (non-recursive) from a remote directory and publishes it to a local directory.
Puts a file (non-recursive) from a local directory to a remote directory.