cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Sender channel File name schema

Former Member
0 Kudos

Hi All,

My requirement is  SFTP sender channel should pick all files with ".pgp " extension. Please provide me the file name Schema for this.

Appreciate the quick reply!

Thanks,

Gayathri.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

*.pgp should work.

engswee
Active Contributor
0 Kudos

SFTP adapter uses regular expression so the normal wildcards convention used in File/FTP adapter will not work.

The regular expression required would be:-


.*\.pgp

Answers (1)

Answers (1)

former_member182412
Active Contributor
0 Kudos

Hi Gayatri,

Eng already given the reply, if you want explanation for this regular expression check below.

FileName:      .*\.pgp

You can test your regular expression in this site https://regex101.com/

Regards,

Praveen.

Message was edited by: Praveen Gandepalli

Former Member
0 Kudos

Hi all,

Thanks for the Inputs.

It worked.

Thanks,

Gayathri.