Hello!
I have received errors for a couple of jobs that download files from an sftp site. In both cases the error message references a specific line of code within the apiRemoteFile.vb file. Sometimes the job is successful and other times it will fail to download the files on the site but later executions will retrieve them.
Job 1: I am not sure why the error message says the specified path is invalid because sometimes the files get downloaded fine.
Exception in Task: Failed to download file: /<remote_path>/<remote_file> to C:\<local_path>\<local_file>, err: SBSftpCommon.EElSFTPError: Specified file path is invalid.
at SBSftp.TElSftpClient.RemoveFileSync(String Filename)
at SBSimpleSftp.TElSimpleSFTPClient.RemoveFile(String Filename)
at VisualCronService.RemoteFileAPI.<long_id>(<long_id> , ConnectionClientClass , ConnectionHandlerClass , String , List`1 <long_id>, String , FTPDownloadCommandClass , Int32& , Boolean& , VariableReplacerClass , TaskProcessClass ) in C:\sourcefiles\code\VisualCronService\Connection\apiRemoteFile.vb:line 1273
Job 2: Here it appears the file download starts but then stops, leaving behind a 0kb file. The remote file does not get deleted and when the job runs again it will download the file successfully the second time.
Exception in Task: Failed to download file: /<remote_path>/<remote_file> to C:\<local_path>\<local_file>, err: SBSftpCommon.EElSFTPError: Cannot find message [/<remote_path>/<remote_file>]
at VisualCronService.RemoteFileAPI.<long_id>(<long_id , ConnectionClientClass , ConnectionHandlerClass , String , List`1 <long_id>, String , FTPDownloadCommandClass , Int32& , Boolean& , VariableReplacerClass , TaskProcessClass ) in C:\sourcefiles\code\VisualCronService\Connection\apiRemoteFile.vb:line 1263
We are using version 8.3.5. Does anyone know what these messages mean and why we get them some of the time?
Edited by moderator
2020-02-12T10:29:12Z
|
Reason: Not specified