Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 in the Agent's home directory. 

Workflow

The jdCreateDemoYadeFiles workflow  jdCreateDemoYadeFiles includes includes shell job that creates files for transfer with the workflow  jdTransferFiles workflow. The transfer of files is automatically triggered by JS7 - File Watching:

  • Workflow jdCreateDemoYadeFiles The jdCreateDemoYadeFiles workflow 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  folder, follow the steps described below steps:

  1. Click the folder  09_FileTransfer FileTransfer folder and expand the jdCreateDemoYadeFiles workflow. Add an order to this workflow as explained with the JS7 - Online Demo - Workflow - jdCreateDemoYadeFiles article.
  2. In the same folder expand the jdTransferFiles workflow. You should see that an order is automatically added to this workflow.



  3. To check the status of the order click the name of the workflow to make the Order History panel appear.




  4. 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  havefinished. Click the Order ID to see the log output created by jobs executed for the respective relevant order.



  5. 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 In the screenshot below-attached screenshot, you can review the detailed information about the file transfer by SFTP with source and target details.
  6. You can download the log file by clicking the Download button from in the upper right-hand corner of the log view window. Also, you can expand and collapse all the individual job output using the chevron icons from the upper left upper -hand corner of the log view window.

...