on 05-19-2010 3:08 PM
Hello all,
I need to read files from an FTP server.
The source directory contains the current date and hence changes everyday.
That means:
Today it's /home/user/out/20100519/ready/
Tomorrow it's gonna be /home/user/out/20100520/ready/
and so on.
Any idea how to set this up?
Thanks & regards
Rainer
>
> Hello all,
>
> I need to read files from an FTP server.
> The source directory contains the current date and hence changes everyday.
>
> That means:
> Today it's /home/user/out/20100519/ready/
> Tomorrow it's gonna be /home/user/out/20100520/ready/
> and so on.
>
> Any idea how to set this up?
>
> Thanks & regards
> Rainer
/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
using dynamicconfiguration cant you make the directory dynamic.
All you need is to have the current date as part of the string i.e /home/user/out/<YYYYMMDD>/ready/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>Any idea how to set this up?
yes
put all your file in one directory with this in the filename - 20100519_ready_
then in the filename in PI sender adapter you can specify a mask "ready"
so it will only pull the ready files
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.