Thursday, March 12, 2009

How to write file using file adapter if other process is polling at the location.

Scenario / Problem:- You need to write a file at a location where someone's process [BizTalk or some other process] is waiting for specific file to appear there.

Answer is very simple, [Some non-technical people I know were reluctant to understand this]

So I thought I will post it here and BizTalkers can understand how simple and logical it is to manage it this way.

This is File Adapter's Property.
Goto Advance of the File Adapter 
and Click Use Temporary file while writing. [SomethingPicks.Out.BTS-WIP] and then once BizTalk is done with writing this file, it renames to whatever is the desired extension is... in this case file name will be [SomethingPicks.Out]

This will probably will look like What's so great about this? but trust me... it is very important feature what BizTalk provides.

About Allow Cache on write works great for files upto 1 MB. For bigger files I will suggest to do use-temp file method.

Happy BizTalking.... :)


  1. Good post and this post helped me alot in my college assignement. Thanks you seeking your information.


FEEDJIT Live Traffic Map