cancel
Showing results for 
Search instead for 
Did you mean: 

Picking files with different extension

vinaymittal
Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member216332
Participant
0 Kudos

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

vinaymittal
Contributor
0 Kudos

Hi Sam,

The advanced parameter for delay doesn't work in the case of FTP it works only in the case of NFS.

So the files will be picked simultaneously

Regards

Vinay

Former Member
0 Kudos

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.

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

vinaymittal
Contributor
0 Kudos

but how do i ensure the order in which file get picked up and how do i ensure the order of placing the files