on 07-01-2013 1:11 AM
Hi Experts,
Is there any advantage of using "use temporary file" in receiver file adapter?
The file is written as temporary file and would be deleted only after its written completely.
Is there any special cases/exceptions/inconsistencies?
Please advise.
Thanks,
Sushama
Hi Sushma,
>>Is there any advantage of using "use temporary file" in receiver file adapter?
Yes , this option is to make sure that the file has to be written completely to the receiver folder.
some cases there will be other application or scripts which will be trying to pick the file from the folder before the file is written completely by PI.
Thanks and Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sushma,
In many cases, another system is looking for a specific file name in the folder and might pick an incomplete file before it is completely written by PI.
Temporary file option is a handy option to prevent an incomplete file to be picked up since a temporary file name is assigned dynamically by the system (if not provided explicitly) and when it reaches end of file; then the actual file is created and the temporary file is deleted.
Hope it is clear.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>The file is written as temporary file and would be deleted only after its written completely.
Yes
refer Sarvesh explanation for understanding more on this topic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.