none
BTS File adapter receive location and filter RRS feed

  • Question

  • Hello

    We have a biztalk receive location configured with file adapter and a filter of *.gpg. However I notice that even files with an extension of gpgk are being picked up. Does the file adapter respect the filters or are the filters interpreted as filter with wildcard at end. So if filter is configures as *.gpg , does the file adapter used *.gpg* as the mask instead of *.gpg

    Please let me know ASAP. Thanks in advance !!

    Wednesday, August 17, 2011 7:00 PM

Answers

  • Hi,

    According to MSDN Restrictions on the File Mask and File Name Properties :

    - Only one file mask or file name can be specified per receive location or send port.
    The full path or part of the path along with the file mask or file name is not allowed. The file mask and file name always represent a name without the path.
    - The file mask and file name are not case-sensitive.
    - The file name cannot contain any of the following characters: < > : / | " ? * ;
    - The file mask cannot contain any of the following characters: < > : / | " ;
    - The following reserved device names cannot be used as the name of a file: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. In addition, any combinations of these with extensions are not allowed.
    - The File adapter considers only the first three characters in a file mask extension when matching files in receive locations with a mask. For example, if a file mask is "*.xml", files with the extension ".xml[any other symbol]" will be picked up. In addition, if a file mask is "*.xmln", files with the extension ".xml[any other symbol]" will be picked up.
    - The total length of the file path, file mask, and file name (without macro substitution) must not exceed 256 characters. (This is a restriction of the MessageBox database.)
    - The file path cannot begin with "\\?".
    Mapped network drive letters cannot be used in the file path, because they are user session based.

    HTH

    Regards,

    Steef-Jan Wiggers
    MVP & MCTS BizTalk Server 2010
    http://soa-thoughts.blogspot.com/
    If this answers your question please mark it accordingly

     


    BizTalk
    • Proposed as answer by DPS Bali Thursday, August 18, 2011 7:17 AM
    • Marked as answer by Ben Cline1Moderator Friday, August 19, 2011 9:36 PM
    Wednesday, August 17, 2011 7:38 PM
    Moderator

All replies

  • Hi,

    According to MSDN Restrictions on the File Mask and File Name Properties :

    - Only one file mask or file name can be specified per receive location or send port.
    The full path or part of the path along with the file mask or file name is not allowed. The file mask and file name always represent a name without the path.
    - The file mask and file name are not case-sensitive.
    - The file name cannot contain any of the following characters: < > : / | " ? * ;
    - The file mask cannot contain any of the following characters: < > : / | " ;
    - The following reserved device names cannot be used as the name of a file: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. In addition, any combinations of these with extensions are not allowed.
    - The File adapter considers only the first three characters in a file mask extension when matching files in receive locations with a mask. For example, if a file mask is "*.xml", files with the extension ".xml[any other symbol]" will be picked up. In addition, if a file mask is "*.xmln", files with the extension ".xml[any other symbol]" will be picked up.
    - The total length of the file path, file mask, and file name (without macro substitution) must not exceed 256 characters. (This is a restriction of the MessageBox database.)
    - The file path cannot begin with "\\?".
    Mapped network drive letters cannot be used in the file path, because they are user session based.

    HTH

    Regards,

    Steef-Jan Wiggers
    MVP & MCTS BizTalk Server 2010
    http://soa-thoughts.blogspot.com/
    If this answers your question please mark it accordingly

     


    BizTalk
    • Proposed as answer by DPS Bali Thursday, August 18, 2011 7:17 AM
    • Marked as answer by Ben Cline1Moderator Friday, August 19, 2011 9:36 PM
    Wednesday, August 17, 2011 7:38 PM
    Moderator
  • Thanks Steef for your quick response. Appreciate it !!
    Wednesday, August 17, 2011 8:13 PM