Hello all, I would like to start off by saying that I am very new to Power Automate, this is my first attempt so I could be missing quite a few details.
I am trying to download files from an SFTP via power automate. I have the flow created, I can connect to the FTP and view the contents that I need to download but when it actually tries to download, It fails on the first file with error:
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Can't download file: /XXXXXX/XXXXXXX/xxxxxx/xxxxxx.pdf. Error while deducing the file paths to use for the local copies.
at Microsoft.Flow.RPA.Desktop.Modules.FTP.Actions.Utilities.FtpUtilities.DownloadSingleFile(IFtpConnection connection, FolderObject downloadInto, String ftpFileDirectory, String fileName, FtpTransferType transferType, IfFtpFileExists ifFileExists, Boolean locateDir, String ftpRootDirectory)
at Microsoft.Flow.RPA.Desktop.Modules.FTP.Actions.Utilities.FtpUtilities.DownloadFiles(IFtpConnection connection, List`1 remoteFilePaths, FolderObject downloadInto, FtpTransferType transferType, IfFtpFileExists ifFileExists, Boolean locateDir, String ftpRootDirectory)
at Microsoft.Flow.RPA.Desktop.Modules.FTP.Actions.DownloadFtpFileAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
It creates the File in my downloads folder but there is no content, basically a corrupted file. I also noticed that sometimes it creates a folder named "Remote Desktop" with a subfolder named "TemporaryRDStorageFiles-{4B369669-1B6C-4B6F-98ED-EFA7606CA474}) and the files within this subfolder but power automate desktop still errors out.
screenshot of flow:

Am i missing something here? Any help is appreciated.