cancel
Showing results for 
Search instead for 
Did you mean: 

FTP sender channel filename issue

Former Member
0 Kudos

Hi ,

I have created a sender FTP channel with Filename Smart_*.csv.

But channel is not picking files from FTP server, even not working for *.csv.

Although when I have mentioned the complete filename in channel, its picking the file from server.

Please guide.

Thanks & Regards,

Nida

Accepted Solutions (0)

Answers (2)

Answers (2)

MichaelSargent
Participant
0 Kudos

In case someone lands here in more recent times, this feature is available.

Please use .* instead of * for wildcard pattern since java.util.regex is used.

So in the example above you need to use Smart_.*.csv

This applies to SFTP adapter and not to FILE adapter. Smart_*.csv work with FILE adapter.

Refer SAP Note: 2173712 - java.util.regex.PatternSyntaxException Dangling meta character occurred for sender SFTP adapter

Former Member
0 Kudos

Hello,

Never heard this kind of behaviour for file adapter (FTP protocol)...this error relates more to a SFTP adapter.

BTW, Which version of PI u are using? Did u tried using only * as the file name in the adapter?

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Amit,

I am working on PI 7.4 single stack.

Only * is also not working.

Thanks,

Nida


former_member184720
Active Contributor
0 Kudos

I just tested in 7.4 SP 08 and it works fine. what is your SP level?

Can you also try with *.* and see how that works?

If that doesn't work then you might want to raise an OSS

Former Member
0 Kudos

Hello,

>>Only * is also not working

Strange...I was searching SDN and found these two links describing the same issue which u are facing now...You can try to implement Mugdha's reply and see if it works?

In addition to that, check solution 36 in 821267...

Thanks

Amit Srivastava

0 Kudos

Hello Nida,

does the filename contain any special characters?

In that case you might have to adjust your encoding settings. Please refer to question 20 in SAP note 821267.

Best regards,

lars