US and Worldwide: +1 (866) 660-7555
Results 1 to 3 of 3

Thread: Passing parameter value to FTP step

  1. #1

    Question Passing parameter value to FTP step

    Hi there,

    I want to pass parameter value to 'FTP Info' Step. Basically in a config file, I define the value for this parameter as -

    FTP_URL = ftp.site.com

    In the 'FTP Info' step I want to pass this value for 'FTP-Server name' field. (usage: ${FTP_URL})

    When I tried it, an error occured -

    ERROR: Error getting files from FTP: ${FTP_URL}

    I have defined this value in chef.bat and try to pass to 'FTP Info' step which didn't work.

    My questions ares:

    1) Does 'FTP Info' step supports receiving values from an external config file like 'chef.bat' in Kettle 2.3.0?

    2) Alternative: Instead of chef.bat, can I create my own config file (config.txt), define the value in the file and call it in 'FTP Info' step?

    Before trying it I want to know if this feature is supported in 2.3.0.

    3) If this feature is not supported, is there a workaround you can suggest?

    Appreciate your time!!!

    Singa

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    In 2.3.1 only wildcard and target directory are variable sensitive in the ftp job entry. Unless you want to patch up the 2.3.1 code the most sensible way is to upgrade. If you see the number of bugs fixed between 2.3.1 and 2.5 you would like to upgrade.

    Regards,
    Sven

  3. #3

    Default

    Thanks for your reply. We are planning to migrate to newer version of Kettle soon.

    Thanks again!
    Singa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •