The BizTalk Server 2004 FTP adapter uses the FTP client
protocol to poll the designated FTP server and retrieves data from the server
"as is." The FTP adapter does not validate any data that it
retrieves. The FTP adapter sends the retrieved document to the BizTalk Messaging
Engine for processing and then it deletes the original document from the FTP
server. If the FTP adapter retrieves a document from the FTP server that is
still being written to by the host application, the retrieved document will
be incomplete. If the FTP adapter retrieves an incomplete copy of the original document, data duplication or data loss may occur in the following scenarios:
- If the original document is still being written to the FTP
server by the host application, the FTP adapter cannot delete
the document and will retrieve another copy of the document at the next polling
interval that is configured for the receive location. This behavior causes document
duplication to occur.
- If the host application has finished writing the document
to the FTP server, the document will be deleted. This behavior will cause data loss
to occur.