BizTalk Server General - how to transmit in entirety a flat file with biztalk 2004

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > May 2005 > how to transmit in entirety a flat file with biztalk 2004





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how to transmit in entirety a flat file with biztalk 2004
Michel

2005-05-25, 5:59 pm

Hello,



I've an application that's generates a flat file, with biztalk I would like
to transmit that file with ftp to an other server. Usually it works perfect,
but sometimes when at the same time the application generate the file and
biztalk gets the file, it transmitted in several pieces, how can I avoid
that?



Thanks for help

Michel




Scott Colestock

2005-05-25, 5:59 pm

You might need to change the file locking semantics of the application
writing the file, if that is possible (and see how that behaves with the
file adapter.)

Otherwise, if the application is writing out files with a particular
extension, but can *change* that extension once the file is completely
written, you could have your receive location only looking for files with
the "complete" extension.

Scott Colestock
www.traceofthought.net


"Michel" <myemail@home.com> wrote in message
news:%23wGi9pTYFHA.3584@TK2MSFTNGP12.phx.gbl...
> Hello,
>
>
>
> I've an application that's generates a flat file, with biztalk I would
> like
> to transmit that file with ftp to an other server. Usually it works
> perfect,
> but sometimes when at the same time the application generate the file and
> biztalk gets the file, it transmitted in several pieces, how can I avoid
> that?
>
>
>
> Thanks for help
>
> Michel
>
>
>
>



Michel

2005-05-26, 2:51 am

Thanks for your answer how can I change the file locking semantics?

"Scott Colestock" <scolestock@community.nospam> wrote in message
news:%23q1Pk3VYFHA.1368@tk2msftngp13.phx.gbl...
> You might need to change the file locking semantics of the application
> writing the file, if that is possible (and see how that behaves with the
> file adapter.)
>
> Otherwise, if the application is writing out files with a particular
> extension, but can *change* that extension once the file is completely
> written, you could have your receive location only looking for files with
> the "complete" extension.
>
> Scott Colestock
> www.traceofthought.net
>
>
> "Michel" <myemail@home.com> wrote in message
> news:%23wGi9pTYFHA.3584@TK2MSFTNGP12.phx.gbl...
and[vbcol=seagreen]
>
>



Scott Colestock

2005-05-26, 5:55 pm

Do you have access to the code that is writing the file out? If .NET, you
would want FileShare.None. If Win32, you would want dwShareMode = 0.


"Michel" <myemail@home.com> wrote in message
news:uGAVMdcYFHA.2288@TK2MSFTNGP14.phx.gbl...
> Thanks for your answer how can I change the file locking semantics?
>
> "Scott Colestock" <scolestock@community.nospam> wrote in message
> news:%23q1Pk3VYFHA.1368@tk2msftngp13.phx.gbl...
> and
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com