Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


PeterW
2018-09-19T12:34:14Z
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?
Sponsor
Forum information
Support
2018-10-09T07:37:32Z
As we have not seen this error before we would like to see this in action. We would appreciate if we could connect and reproduce this with your Job. Please send any details to support@visualcron.com
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
PeterW
2018-10-25T18:01:08Z
Originally Posted by: Support 

As we have not seen this error before we would like to see this in action. We would appreciate if we could connect and reproduce this with your Job. Please send any details to support@visualcron.com



Unfortunately this issue is intermittent so I cannot reproduce it easily. If I can find a way to reliably get this error to appear on demand I will provide an update in this thread and we can connect.

Thanks,

Peter
blm-vc
2020-02-10T14:10:24Z
May i hijack this...
We have to change a server in a get file-process. Connection and file listing within the dialog is ok. If the task is startet we get the exeption.

Exception in Task: Failed to download file: "quiet, dont tell anybody, this is secret"
err: SBSftpCommon.EElSFTPError: SFTP component not connected
bei VisualCronService.RemoteFileAPI.DownloadSFTPFiles(TaskFoundationClass tf, ConnectionClientClass cc, ConnectionHandlerClass ch, String strConnectionId, List`1 files, String originalSaveFolder, FTPDownloadCommandClass downloadCommand, Int32& intTotalFiles, Boolean& active, VariableReplacerClass VR, TaskProcessClass tpc) in C:\sourcefiles\code\VisualCronService\Connection\apiRemoteFile.vb:Zeile 1263.

Download from unix stock sftp client without problems.

(Pssst: Our VC Version is kinda out of, im afraid: 8.4.0 21465)
Support
2020-02-11T12:12:48Z
Originally Posted by: blm-vc 

May i hijack this...
We have to change a server in a get file-process. Connection and file listing within the dialog is ok. If the task is startet we get the exeption.

Exception in Task: Failed to download file: "quiet, dont tell anybody, this is secret"
err: SBSftpCommon.EElSFTPError: SFTP component not connected
bei VisualCronService.RemoteFileAPI.DownloadSFTPFiles(TaskFoundationClass tf, ConnectionClientClass cc, ConnectionHandlerClass ch, String strConnectionId, List`1 files, String originalSaveFolder, FTPDownloadCommandClass downloadCommand, Int32& intTotalFiles, Boolean& active, VariableReplacerClass VR, TaskProcessClass tpc) in C:\sourcefiles\code\VisualCronService\Connection\apiRemoteFile.vb:Zeile 1263.

Download from unix stock sftp client without problems.

(Pssst: Our VC Version is kinda out of, im afraid: 8.4.0 21465)



try setting one SFTP version at a time, starting from 2, ending at 6.

If that doesn't work, please send an email to support@visualcron.com and we'll go through the next steps of troubleshooting
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
blm-vc
2020-02-12T08:07:29Z
That worked out, Thank you!
All good things starting at 3.
Scroll to Top