
I’m running into an issue with our SFTP download automation(Error message below). Here’s what we’ve tested so far:
When the ZIP files contain only .txt files, the automation works fine.
Standalone Excel files (.xlsx) also download correctly.
The problem occurs when the ZIP files contain Excel files (.xlsx). For some reason, these don’t download properly and we end up with a corrupted zip.
We've tried restarting the VM but still the same issue.
Can someone please assist ?
What happened?Problem while executing action 'DownloadFiles'. Can't download file: /outbound/XXXXXX.zip. Error while deducing the file paths to use for the local copies. Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Can't download file: /outbound/XXXXXX.zip. Error while deducing the file paths to use for the local copies. ---> Renci.SshNet.Common.SshOperationTimeoutException: Operation has timed out. at Renci.SshNet.SubsystemSession.WaitOnHandle(WaitHandle waitHandle, Int32 millisecondsTimeout) at Renci.SshNet.Sftp.SftpSession.EndRead(SftpReadAsyncResult asyncResult) at Renci.SshNet.Sftp.SftpFileReader.<StartReadAhead>b__23_0() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Renci.SshNet.Sftp.SftpFileReader.Read() at Renci.SshNet.SftpClient.InternalDownloadFile(String path, Stream output, SftpDownloadAsyncResult asyncResult, Action`1 downloadCallback) at Microsoft.Flow.RPA.Desktop.Modules.FTP.Actions.Utilities.SftpConnection.DownloadFile(String localPath, String remotePath) 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) --- End of inner exception stack trace --- 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) |
|---|