Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Put a file with SFTP task - Logging

  1. #1

    Question Put a file with SFTP task - Logging

    Hi All,

    I am trying to get the uploaded filenames from "Put a file SFTP" task. Below are my requirements -

    1) I would like to get the filenames, timestamp and exact order of files which got uploaded through "Put a file SFTP" task to the log file. Unfortunately i have limitation of changing the loggging level from Basic to anything. So is there any other way to get the above details in the log file?

    2) I have this regex in the above task -- (?i).*(?=.*ABC_123_).*.txt|(?=.*ABC_456_).*.txt|(?=.*ABC_789).*.txt|(?=.*ABC_012_).*.txt. Could you let me know the order of file upload with this regular expression? Will ABC_123_*.txt be uploaded first?

    The actual requirement is to understand the order of file upload in BASIC logging level.

    Thanks for your help in advance.

  2. #2
    Join Date
    Jun 2012


    If you enable option "Add filename to result" in job entry "Put a file with SFTP", you should be able to read those filenames in a subsequent transformation using step "Get files from result". The order of transfer should be intact.
    So long, and thanks for all the fish.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.