Comentários (4)

1 Shreyasma comentou às Link permanente

Hi Herman,

I have a requirement where we fetch a XML file using the SFTP FSH. This XML contains an email address and a location to a file.
I want to use the datapower to send this file as an attachment to the email address mentioned in the XML.
Please guide me on how to achieve this?

2 HermannSW comentou às Link permanente

Hi Shreyas,

that should be easy to do. Just use above stylesheet and revplace the ".../anim.gif" by your "filename", eg. <dp:url-open target="{$filename}" response="binaryNode"></dp:url-open>. Please make sure to use the improvement from this Blog posting for bigger attachments:

3 j_deluca comentou às Link permanente

Hi Hermann, How could I modify the "smtp.xsl" to attach a text file I pick up from an SFTP server.?In other words, the binary INPUT context.

4 HermannSW comentou às Link permanente

Hi James,
in smtp.xsl the attachment is taken over HTTP (anim.gif, by target=""). Just make the <dp:url-open> @target us sftp protocol (

Incluir um Comentário Incluir um Comentário