BizTalk Server General - RE: Can FTP Adapter check a dir for new files, retrieve them, but leav

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > February 2006 > RE: Can FTP Adapter check a dir for new files, retrieve them, but leav





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 RE: Can FTP Adapter check a dir for new files, retrieve them, but leav
BizTalk Benjamin

2006-02-21, 5:51 pm

Hi,
The thing about biztalk orchestrations is that you can get several of them
firing up and picking up sets of files (you can control the batch size and
forcibly implement a singleton pattern if you only want one orchestration to
exist). So the out of the box file and ftp adapters delete the file to avoid
other orchestration instances picking up the same file.This way they can
provide a 'once and only once' type of functionality.

If you dont want this, i suggest you use robocopy or other file sync
mechanisms to move the source file to a 'user pickup' location and a 'receive
location'

This way the users still have access to the file. It would be best to move
the file instead of just copying it because if it remained in the original
folder, the robocopy would copy the same file again later and send it to the
recieve location.

HTH
Benjy

"ntbrierly" wrote:

> Hello,
> I'm designing a system to do the following:
>
> 1. Monitor a location on an FTP server. If a new file (these are text
> files) is added to that location, get a copy of that file, BUT leave
> the file there (other users need to have access to the file).
>
> 2. Change the filename. (There may possibly be a need to modify the
> contents of the text file, but leave that for later)
>
> 3. Send the newly named file to an FTP location.
>
> I think Biztalk 2004 can do #3. I'm not entirely sure it can do #2,
> though I suspect it can. However, I'm coming to the conclusion that it
> can't do #1. It seems to be able to poll an FTP server (though
> documentation on this is sadly lacking), but it always seems to want to
> delete the file.
>
> Does anyone have any information on how to setup the FTP Adapter to
> monitor a dir. on an FTP server? Can an FTP Adapter be configured to
> leave the file after grabbing it?
>
> Thank you!
> Trevor
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com