Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: How to download multiple files with HTTP Job step

  1. #1
    Join Date
    Dec 2006
    Posts
    11

    Default How to download multiple files with HTTP Job step

    Hi,

    I am trying to use the HTTP step in a job to download multiple files from a server. I generate the URLs with a previous transformation, set the "input field which contains URL" and checked the "Run for every result row?" in the HTTP step. But for the target file I can only set a static name / variable (not counting the day/time option). I would like to save the files with the same file name, as they are retrieved from the server.

    Would this be a feature request or am I missing something (because it seems like an obvious feature to me with the already existing "Run for every result row" option)?

    As a workaround I am going to try to instead loop the job with "Execute for every input row" and update a variable to be used in the Target file field.

    Bent

  2. #2
    Join Date
    Nov 1999
    Posts
    459

    Default

    Quote Originally Posted by bmm View Post
    Hi,

    Would this be a feature request or am I missing something (because it seems like an obvious feature to me with the already existing "Run for every result row" option)?

    As a workaround I am going to try to instead loop the job with "Execute for every input row" and update a variable to be used in the Target file field.

    Bent
    Bent,

    you are completely right - and: feel free to file a feature request for this ;-)

    Cheers,
    Jens

  3. #3
    Join Date
    Dec 2006
    Posts
    11

    Default

    Feature request created at http://jira.pentaho.org/browse/PDI-208

  4. #4
    Join Date
    Apr 2010
    Posts
    14

    Unhappy

    I want to know because since 2007 this feutuer in not added, is there any alternative for changing the file target name ?
    Last edited by kodotkom; 05-08-2010 at 12:54 PM.

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.