3 Replies Latest reply on Oct 15, 2010 6:34 AM by 805330

    OSB - how to set various File Mask for FTP transportation?

    805330
      Hi, All,

      I'm using OSB FTP transportation to watch a folder (at remote FTP server).
      For the File Mask, can we use more than one kind?

      In my case, I want to poll all the files that has either kind of the following filename extension:
      1 *.Abc
      2 *.ABc
      3 *.AbC
      4 *.ABC
      5 *.abc
      6 *.aBc
      7 *.abC
      8 *.aBC

      In other words, any file ends with abc( case doesn't matter).

      Can I set various kind of File Mask? How?
      I've tried to put all the 8 masks, seperating with "," and also tried out ";".
      But failed.

      Or is there any expression I can use for the file mask?
        • 1. Re: OSB - how to set various File Mask for FTP transportation?
          685183
          Hi,

          Donno if you want to read only of the file extension .abc of any case ...but u can use
          *.*
          to read any file in that directory

          Edited by: Oraacler on Oct 14, 2010 12:06 AM
          • 2. Re: OSB - how to set various File Mask for FTP transportation?
            Anuj Dwivedi--Oracle
            I've tried to put all the 8 masks, seperating with "," and also tried out ";". But failed.
            One proxy may have only one file mask. You may not specify more than one file mask in a single service.
            Can I set various kind of File Mask? How?
            Not in a single proxy service. You have to either create a proxy with file mask *.* (star.star) to read all the files in the directory or you have to create number of proxies with each having a specific file mask.

            Or is there any expression I can use for the file mask?
            Only the wildcard characters * and ? are allowed in the File Mask. Regular expressions are not supported.

            Can you let us know more about your use case so that we may suggest a proper solution? Will your system process files with different file extension differently or is it that all file extension will get processed similarly? Which application is writing the files being read by OSB and cann't it control the file naming?

            Regards,
            Anuj
            • 3. Re: OSB - how to set various File Mask for FTP transportation?
              805330
              Thank you. Anuj.
              I think I'll have 8 proxy services to fullfill the need.

              Thank you, too. Oraacler.
              I don't want all file to be processed. That's why I don't use *.*
              Per Anuj's comment, I'll have 8 proxy services to fullfill the need.