Joacim,
Though your situation may be far more complicated, you could try the simplest approach.
On the backend URL, put in the SFTP server name, like "sftp://SFTPServerName".
Then, in the User Agent of the XML Manager (suggest creating customs of both), navigate to the "SFTP Client Policy" (don't know which UI you are using) and add a policy entry.
In the "URL Matching Expression", you can just type "sftp*" (without the surrounding double-quotes). However, if you have more than one SFTP server to which you are sending traffic (a dynamic SFTP endpoint), you may have to be more precise and have more than one policy.
In the "SSH Client Profile", either create one or select an existing one where you can configure the username and other security settings for the connection.
Then choose the correct value for "Use Unique File Names" as appropriate for your use case.
Even if your back end is dynamic, as long as the back end resolved is "sftp://" something, this should work, provided your SFTP Client Policy is defined correctly.
------------------------------
Joseph Morgan
CEO - Independent
Joseph Morgan
Dallas TX
------------------------------
Original Message:
Sent: Wed September 18, 2024 04:47 AM
From: Joacim Dahlblom
Subject: HTTPS => SFTP?
Hi,
Is it possible to configure a MPG with HTTPS handler and send the request on to a SFTP-server?
If it is, do you know of any example how to configure?
Regards
Jocke D
------------------------------
Joacim Dahlblom
------------------------------