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


datanerd
2019-02-12T20:20:59Z
I have an FTP task to download a file from a partner's FTP site. The error is "Exception in Task: Failed to download file" but when looking at the destination side of the download task I see a complete file that was mentioned in the error as failed to download.

This specific error is leaving our success/failure report a bit messy with lots of errors daily. There are more than one task with this same issue.

It does appear to have a stack trace partially included in the task output.

does not exist
at SBSftp.TElSftpClient.RemoveFileSync(String Filename)
at SBSimpleSftp.TElSimpleSFTPClient.RemoveFile(String Filename)
at 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:line 1273

Thanks,
Dan
Sponsor
Forum information
Support
2019-02-12T21:20:44Z
Do you use any retry on error in the Task? Try uncheck Delete file as well - it seems the download goes fine but then it has problem with deletion (perhaps deleted by other instance??).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
datanerd
2019-02-12T21:59:00Z
That was the issue. Could this error be improved in order to call out the download succeeded and the delete from source failed?
Support
2019-02-15T14:07:36Z
It would be possible to separate these errors and add this "Delete file error" to OnError tab. I am moving this request to forum Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top