Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Copying Recent files Uploaded in SFTP to another folder

  1. #1

    Default Copying Recent files Uploaded in SFTP to another folder

    I created a job which will uploads 4 files on the SFTP server daily. The files are results of a transformation.
    Daily, 4 files are created and it keeps on accumulating in one folder. The requirement is to have another
    folder which only contains the recent files on the same day.

  2. #2

    Default

    Can anybody help?

  3. #3
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Your problem specification is a bit vague.
    There are too many open questions that keep me from suggesting a solution.

    For example:
    You really designed a job only to upload the files?
    Are there variable parts in a filename?
    Applies the same naming rule to the daily and the archived filenames?
    Must daily files exist in both daily and archive folders at any time?
    What's the reason behind a separate folder for the daily files?
    Are the daily files processed once or multiple times on the target server?

    --
    "Careful planning is the key to safe and swift travel" - Ulysses
    Last edited by marabu; 05-26-2015 at 03:02 PM.
    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.