cancel
Showing results for 
Search instead for 
Did you mean: 

Use temporary file in Receiver file channel

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

naveen_chichili
Active Contributor
0 Kudos

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.


ambrish_mishra
Active Contributor
0 Kudos

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

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>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

http://scn.sap.com/thread/1280819