File adapter
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > File adapter




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    File adapter  
david.liu@sunaptic.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:03 PM

Hi, is there anyone who has an idea for a file adpater searching all
subfolders looking for files that fit the file mask? I don't want to
create lots of receive locations.

Thanks






[ Post a follow-up to this message ]



    RE: File adapter  
Alan Smith


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 12:48 PM

Hi,

The file adapter won't do this. A couple of options:

Write a windows service (in C# or .net) to scan the directories, and move
the files to a location where BizTalk can pick them up. I think there's a
directory (or folder) watcher class that generates an event when a folder
contents is modified, but i'm not sure if it's hirarchical. (Also beware of
name clashes wne coppying to a sengle location).

If there arn't too many receive locations:
Create a binding file for the receive port and one location. You can then
edit the binding file and add a bunch of locations easily, then import the
binding file to create the locations. (Be aware that the fisrt location will
be specified as default, you will need to change this in the other locations
).

A third option would be to write a custom adapter, but this may be a complex
solution to a simple problem.

Regards,

Alan


--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith



"david.liu@sunaptic.com" wrote:

> Hi, is there anyone who has an idea for a file adpater searching all
> subfolders looking for files that fit the file mask? I don't want to
> create lots of receive locations.
>
> Thanks
>
>





[ Post a follow-up to this message ]



    Re: File adapter  
david.liu@sunaptic.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-05 01:47 AM

Hi Alan,

Thank you very much. I think the second way may be the easest way
though it will create lots of receive location

David






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:22 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register