Hi.
Thanks for providing this forum which I've used a lot but never before posted to.
I'm trying to use Create File Action of the SFTP-SSH connector to upload a file to a SFTP server.
The filename is in the format "xxxxxxxxxxxx.xx.YYYY-MM-DD.xxx" where x is just a normal character.
The filename can be delivered and processed by the SFTP server fine when dropped manually via a FTP client application such as CuteFTP. However when using the SFTP-SSH Create File action in Power Automate it gives an error because it thinks the first part of the filename up to the first dot is a directory folder I believe.
I've tried using a backslash to escape code the dot using the replace() function:
concat(replace(triggerOutputs()?['body/{Name}'], '.', '\.'),'.inc')
however that just appears as "xxxxxxxxxxxx\\.xx\\.YYYY-MM-DD.inc" in the resultant filename and isn't processed by the SFTP server. (Interestingly it adds a second backslash to the single one I added). Power Automate SFTP-SSH thinks it's delivered the file correctly though from it's perspective, no errors.
I think the entire filename needs to be in brackets or quotes or something but I haven't figured out exactly what yet. I've tried single quotes around the whole name but it comes back with an error

Can anyone help with ideas on how to properly handle this issue?
Many thanks in advance.
Hugh