none
FTP adapter flood EventLog with warnings. PORT command failing RRS feed

  • Question

  • Hi all

    I am getting a lot of warnings from my ftp adapter in spite of the fact that it seems to do it's job well anyways.

    There are these two warning types:

    -----------------------------
    Event Type: Warning
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006
    Event ID: 5740
    Date:  25-02-2009
    Time:  09:21:32
    User:  N/A
    Computer: BIZTALKTEST
    Description:
    The adapter "FTP" raised an error message. Details "A failure occurred when parsing the remote folder listing. ".
    -----------------------------

    followed by

    ----------------------------
    Event Type: Warning
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006
    Event ID: 5740
    Date:  25-02-2009
    Time:  09:26:33
    User:  N/A
    Computer: BIZTALKTEST
    Description:
    The adapter "FTP" raised an error message. Details "The adapter recovered from recent failures. The Event Log Error Threshold count reset. ".
    --------------------------

    In my log file I can see that it seems to be the PORT command that fails somehow. Here are three entries. The first and last succeed, and the middle one throws the warning(Linebreaks added for readability).

    -------------------------
    < 220 Microsoft FTP Service
    > USER myuser@example.com
    < 331 Password required for myuser@example.com.
    > PASS xxxx
    < 230 User myuser@example.com logged in.
    > PWD
    < 257 "/myhomedir" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/myhomedir" is current directory.
    > CWD OUT
    < 250 CWD command successful.
    > PWD
    < 257 "/myhomedir/OUT" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 192,168,103,238,13,174
    < 200 PORT command successful.
    > LIST AAAA.BBBB.*
    < 150 Opening ASCII mode data connection for /bin/ls.
    < 226 Transfer complete.
    > QUIT
    < 221 


    < 220 Microsoft FTP Service
    > USER myuser@example.com
    < 331 Password required for myuser@example.com.
    > PASS xxxx
    < 230 User myuser@example.com logged in.
    > PWD
    < 257 "/myhomedir" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/myhomedir" is current directory.
    > CWD OUT
    < 250 CWD command successful.
    > PWD
    < 257 "/myhomedir/OUT" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 192,168,103,238,13,227


    < 220 Microsoft FTP Service
    > USER myuser@example.com
    < 331 Password required for myuser@example.com.
    > PASS xxxx
    < 230 User myuser@example.com logged in.
    > PWD
    < 257 "/myhomedir" is current directory.
    > SYST
    < 215 Windows_NT
    > PWD
    < 257 "/myhomedir" is current directory.
    > CWD OUT
    < 250 CWD command successful.
    > PWD
    < 257 "/myhomedir/OUT" is current directory.
    > TYPE A
    < 200 Type set to A.
    > PORT 192,168,103,238,14,25
    < 200 PORT command successful.
    > LIST AAAA.BBBB.*
    < 150 Opening ASCII mode data connection for /bin/ls.
    < 226 Transfer complete.
    > QUIT
    < 221 
    ---------------------------------

    Can anyone suggest a reason that the PORT command would not succeed, or is this a symptom of something else?

    Wednesday, February 25, 2009 3:00 PM

All replies

  • The FTP listings look so similar. Are all 3 listings from exactly the same port?

    Thanks,
    If this answers your question, please use the "Answer" button to say so | Ben Cline
    Monday, March 2, 2009 6:46 AM
    Moderator
  • Hi Ben

    Yes, all three are from the same port/log. I just entered the extra linebreaks to separate the successful from the failing one.
    Monday, March 2, 2009 8:08 AM
  • Did anyone resolve this?  We are having basically the same problem.  The FTP server we are tyring to connect to does not allow the PORT command.  They want everything on the default port (20).  In our log file, it stops at the PORT command.  If I try to copy the PORT command and execute it in FileZilla, it immediately gives me an error "Disconnected from server".
    Tuesday, March 24, 2009 9:16 PM
  • What OS is the FTP server? Some OSes are not supported by the Microsoft FTP adapter. Another option is to use the one sold by N Software.

    Thanks,
    If this answers your question, please use the "Answer" button to say so | Ben Cline
    Tuesday, March 24, 2009 9:23 PM
    Moderator
  • I didn't resolve it. It seems to be occurring somewhat randomized. It does not fail every time. Only some times. 
    Tuesday, March 24, 2009 9:28 PM
  • Any update on this?

    Now after 3 years in BizTalk 2010 we are getting same error randomly... 


    Hemant Bhadane - MCTS - BizTalk Server ------------ Mark as "ANSWER" for the post which answers your Question.

    Tuesday, February 21, 2012 3:50 PM