on 2011 Mar 09 8:58 PM
Hello all,
Is there any way to pick the latest file from folder based on timestamp?
thanks for your help in advance.
Thanks,
Siddhesh
Request clarification before answering.
Hi,
Is requirement to pick the latest file only or pick all the files in the sequence (starting from the latest one) ?
1. If your requirement is to pick latest file only: then you can write a OS script in "Run Operating System command before processing" under Processing tab. This will make sure that you only pick the latest file.
2. If you have to read all the files in sequence: then you can use the option in sender file adapter called "Processing sequence set as By Date". FYI, In this mode file adapter will read the oldest file first
Edited by: Puneet Singhal on Mar 10, 2011 10:48 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
There is an option of processing sequence in file adapter
you can select by date and it picks the first file which was created on the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.