Petals-BC-SFTP 1.9.0+

Version 1 by Christophe DENEUX
on Dec 11, 2020 13:53.

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
<ver:attachments>
<ver:filename><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:test1.xml"/></ver:filename>
<ver:filename name="my-file.txt"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:test2.xml"/></ver:filename>
</ver:attachments>
</ver:mput>
{code}

The file names used to store files on SFTP server is defined by the attribute '{{name}}'. If this attribute is missing or empty, the file name will be set to the attachment identifier extracted from '{{xop:Include#href}}'.

The service does not return a message.
\\

The service might return an error when an element in the request is missing or if the SFTP connection failed.