Re: FTP to retrive dynamic file name

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Martijn Hoogendoorn (martijn.hoogendoorn_at_macaw.nl)
Date: 09/04/04


Date: Sat, 4 Sep 2004 11:22:48 +0200

On Fri, 3 Sep 2004 19:51:01 -0700, James wrote:

> Hi :
>
> How could I using BTS 2004 FTP adapter to retrive files on a FTP server
> with "dynamic" file name.
> for example, there are many files on the FTP server but I just want to
> retrive those files with some specific filename rules like "ID.YYMMDD" Id :
> maybe means for somekind of identifiers for the business partner and YYMMDD
> is just for the date.
>
> Thanks !!

Hi James,

Simply put, you can't. The BizTalk Server 2004 FTP adapter uses the
Xceed.Ftp class, which can be found here:
http://www.xceedsoft.com/products/FtpLib/index.aspx. Internally, to
retrieve a list of files to transfer, a method is called within the
library, named "GetFolderContents", which is passed the "File Mask" you
configured within the property page of the receive port as-is. If you check
the documentation of the Xceed.Ftp class for that method, you see that you
can only set the filemask to whatever a regular ftp server would support
(e.g. *.xml), no macros are available to use. The documentation for the
GetFolderContents method is located here:
http://doc.xceedsoft.com/products/ftpNet/ref/index.htm?page=xceed.ftp.ftpclient.getfoldercontents.html

HTH,

Martijn Hoogendoorn



Relevant Pages

  • Re: Ftp Adapter if Ftp Server is down for whole day.
    ... I am using FTP adapter to upload file to third party application. ... FTP server might be down for hours perhaps days. ... again after a specified time. ...
    (microsoft.public.biztalk.general)
  • Re: Ftp Adapter if Ftp Server is down for whole day.
    ... When a maximum number of retries is reached, ... FTP server might be down for hours perhaps days. ... I know that if ftp server is down for some time, ftp adapter will try ... again after a specified time. ...
    (microsoft.public.biztalk.general)
  • Ftp Adapter if Ftp Server is down for whole day.
    ... I am using FTP adapter to upload file to third party application. ... FTP server might be down for hours perhaps days. ... again after a specified time. ...
    (microsoft.public.biztalk.general)
  • Re: ftp adapter how to
    ... Once u enable the receive location, the files on the specified ftp server are ... running and subscribing to that specific message, the orch will process this ... > orchestrations and files. ... > using the ftp adapter. ...
    (microsoft.public.biztalk.general)
  • Re: Where do I find information how to verify FBSD login via LDAP
    ... I want to verify users to an external ... > FTP server by using OpenLDAP. ... need to authenticate users via LDAP. ... documentation has much that is relevant to FreeBSD. ...
    (freebsd-questions)