cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP receiver adapter change attachment file name at the target side

Former Member
0 Kudos

Hi Experts,

Currently i am picking multiple files using additional files option in sender SFTP adapter and i am writing both main payload and attachment in target directory using receiver SFTP adapter by using 'store attachments'  option in receiver channel, by default channel is creating attachment file name like MainPayloadFileName_AttachmentFileName,  Can we create the file name only with AttachmentFileName instead of adding MainPayloadFileName??

Please suggest me if you anyone done this before?

Regards,

Rachana.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Rachana,

Please set this parameter in the 'advanced mode' section of the receiver channel.

Parameter Name     : retain.attachment.name

Parameter value      : true


arjun

0 Kudos

Hi!

I got the same problem here.

Did you find a solution?

Thank you

azharshaikh
Active Contributor
0 Kudos

Hi Rachana,

Please check if the following link helps:

Regards,

Azhar

Former Member
0 Kudos

Hi Azhar,

I am not using Seeburger SFTP, I am using PI 7.3 SAP SFTP adapter so those attributes i cannot set, but those parameters for main file name not for attachment.

Regards,

Rachana.