Introduction
The JS7 - File Transfer capabilities can be used to transfer files by a number of protocols such as FTP, FTPS, SFTP, WebDAV, HTTP/HTTPS, etc. The JS7 Agent includes the YADE client that is available from the Agent's home directory.
Workflow
The workflow jdCreateDemoYadeFiles includes a shell job that creates files for transfer with the workflow jdTransferFiles. The transfer of files is automatically triggered by JS7 - File Watching:
- Workflow jdCreateDemoYadeFiles creates the files,
- File Watching automatically picks up the files and
- starts the jdTransferFiles workflow by adding one order per file created. This workflow transfers files to an SFTP server.
To execute the workflow from the folder 09_FileTransfer follow the below steps:
- Click the folder 09_FileTransfer and expand the jdCreateDemoYadeFiles workflow. Add an order to this workflow as explained with the JS7 - Online Demo - Workflow - jdCreateDemoYadeFiles article.
- In the same folder expand the jdTransferFiles workflow. You should see that an order is automatically added to this workflow.
- To check the status of the order click the name of the workflow to make the Order History panel appear.
- From the Order History panel, you can verify that 1 or more orders are added to the workflow with each order representing the a file transfer. From the Order History panel, you can verify if the orders are successful and finished. Click the Order ID to see the log output created by jobs executed for the respective order.
- A log window will open and the order log will be displayed. The order log contains the output of all jobs executed by the order. From the below-attached screenshot, you can review the detailed information about the file transfer by SFTP with source and target details.
- You can download the log file by clicking the Download button from the upper right corner of the log view window. Also, you can expand and collapse the individual job output using the chevron icons from the left upper corner of the log view window.
Overview
Content Tools