Biztalk 2006 R2 FTP Adapter



My system is BizTalk 2006 R2.
Remote system is HP/UX Enterprise UNIX 2.2.00 Secure FTP

Problem:
Transmissions will randomly fail when sending files via the FTP
adapter.
Error details: The remote server refused a data connection.
Please check permissions on the remote system.
Diagnosis:
Discussed issue with trading partner. Their log shows our
connection timing out after 120 seconds.
Packet capture at firewall shows connection, transmission and
timeout control message from the trading partner.
BizTalk FTP adapter log shows connection and transmission.
Bouncing the Host Instance logs a QUIT on the adapter.
BizTalk uses Xceed FTP binaries through a wrapper interop
assembly.
Analysis:
BizTalk FTP adapter is staying open after transmission, the
remote server is timing out due to inactivity and the next message
fails.

I tried sending QUIT in the “After Put” property. Message is
transmitted, the log shows a disconnect but BizTalk message fails with
Error details: The command "QUIT" failed on the FTP server. When
another file is sent, the log shows a successful connection,
transmission and another quit but the message fails in BizTalk due to
the same error.

I use FTP with four different trading partners and this happens on all
of them. I’ve spent about a week testing and collecting data for this
problem. I can reproduce the problem at will. I know it is a
problem, I just don’t know how to prevent it from happening. I’m
guessing this is a bug within the wrapper class but I don’t know how
to report this to Microsoft. It seems the wrapper is reporting back
to the BizTalk messaging engine the message failed even though it
didn’t. Searching Google and MSDN only shows a similar problem on
BizTalk 2004 pre SP1.

Can anyone help me?
.



Relevant Pages

  • Re: Receive adapter deletes empty files, doesnt forward on message!
    ... > The FILE receive adapter rejects 0 byte files ... > The FTP receive adapter accepts 0 byte files ... > This is making BizTalk look like in such a bad light here. ... >> empty messages and don't pass them on to BizTalk. ...
    (microsoft.public.biztalk.general)
  • Re: BizTalk 2004: File Receive Location Problem
    ... > "However, for using the FTP Receive adapter, you have to set the ... > temporary folder to a local folder on the machine BizTalk is running ... > 886989 Data may be duplicated or lost when you receive data in BizTalk ... I have the following tree on the FTP Server: ...
    (microsoft.public.biztalk.general)
  • Biztalk continuously rewrites the same file
    ... I am facing a strange problem. ... BizTalk is installed in USA and the file is sent to UK. ... network is same we can use FILE adapter. ... We cannot use FTP adapter. ...
    (microsoft.public.biztalk.general)
  • Re: Receive adapter deletes empty files, doesnt forward on message!
    ... but the FILE send adapter does!!! ... The FTP receive adapter accepts 0 byte files ... This is making BizTalk look like in such a bad light here. ... > empty messages and don't pass them on to BizTalk. ...
    (microsoft.public.biztalk.general)
  • Re: SDSF - so slow!
    ... Not sure how I'd go about getting FTP to access the spool data. ... This transmission may contain information that is privileged, ... confidential, legally privileged, and/or exempt from disclosure ...
    (bit.listserv.ibm-main)