Skip to Content

Picking files with different extension

Hello experts,

I need a help on a below requirement

Need to pick three files Abc.txt, xyz.xml, ikj.dat (delete and archive)

File names will always be same. Need to pick files twice or thrice a day

we need to pick the files in the order

Abc.txt then xyz.xml, ikj.dat

and then place them on the target in same order.

we need to do this via File FTP.

Pelase help.

Regards

Vinay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 19, 2015 at 09:05 AM

    Hello Vinay,

    Try this in the communication channels. It should work out fine.

    The inputs in image 1 make sure of the files to be picked.

    The input in image 2 gives a time gap between picking up & placing of files thus maintaining the alignment while processing.

    Regards

    Sam


    1.png (6.4 kB)
    2.png (3.4 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member vinay mittal

      Hello Vinay ,

      You can use EOIO quality of service and then pick up the files ascending by name. May be you have to get some file name changed to maintain the order as per the alphabetic order.

      Further you can also ask your Source system to put these three files in sequence. In that case you can pick the files by date.

      Source file name you can keep as * in this case.

      Thanks.

  • avatar image
    Former Member
    Oct 19, 2015 at 07:48 AM

    Hi Vinay,

    I guess you can do this by using file name as *.txt|*.xml|*.dat in sender file communication Channel

    and select the processing mode as ARCHIVE it deletes the file and it will archive the file into required directory.

    Regards,

    AK

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 19, 2015 at 08:37 AM

    Hello Vinay,

    You can advanced source directory/file options where you can configure multiple file names/folder.

    But coming to order I guess you need to write OS command or custom bean.

    Add comment
    10|10000 characters needed characters exceeded