cancel
Showing results for 
Search instead for 
Did you mean: 

Picking multiple files using Sender SFTP channel

0 Kudos

Dear Experts,

I am using SAP PO 7.5 with SFTP adapter 1.0.

I have a requirement like 2 files ( AB1301.xxx, AB1302.xxx ) need to pick from same directory from SFTP server. Could you please suggest a way to pick both the files using single sender SFTP channel with respect to above naming convention.

Concern is folder consists of some other files like AB1303.xxx, AB1304.xxx as well. But I need to get only AB1301.xxx & AB1302.xxx files only with 1 single sender SFTP channel. where xxx represents a sequence no. which is any 3 digit no.

Waiting for your reply.

Thanks,

Raj.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182412
Active Contributor
0 Kudos

Hi Raj,

You can use below file Name scheme in SFTP adapter.


AB130[1-2]\.[0-9]{3}.*

Regards,

Praveen.

0 Kudos

Hi Praveen,

Thanks for your quick reply..

I have updated the Filename parameter as AB130[1-2].* and its working fine...

Thanks,

Raj.

former_member182412
Active Contributor
0 Kudos

Hi Raj,

I am glad the problem was resolved can you close the thread.

Regards,

Praveen.

0 Kudos

Hi Praveen,

I have one more query.

In earlier posts, handled the file name using AB130[1-2].* as the requirement is to pick files with no. is in sequence. If I would like to pick the files like AB1301.xxx, AB1303.xxx & AB1304.xxx, what would the expression.

Means no need of AB1302.xxx file been picked by the channel.

Any suggestion on this...?

Thanks,

Raj.

Former Member
0 Kudos

Try this... AB130(1|3|4).*

former_member182412
Active Contributor
0 Kudos

Hi Raj,

Small correction use below file name scheme.


AB130[1|3|4].*

Regards,

Praveen.

Former Member
0 Kudos

Praveen,

open bracket works fine with Seeburger SFTP. are you sure it wont work with SAP SFTP?

former_member182412
Active Contributor
0 Kudos

Hi Ramkumar,

Both works.

Regards,

Praveen.

0 Kudos

Thanks Praveen.

Answers (0)