Hi,
I just find something strange, but this might be solved in 6.1.0.
I have a SFTP (SSH secure shell) upload task. It uploads only one file and I have set it up to retry the task 5 times after a 5 minute wait.
This morning a client called me telling me they are missing the file.
I checked and the task was successful.
I chekced the log and I saw the following:
------------------------------------------------------------------------------------------------------------------
Copy zipfile
Result: Connection failed (error code is 10061)
Last run: 4/25/2012 4:32:06.91 AM
Last exited: 4/25/2012 4:32:07.95 AM
Execution time: 1.076 seconds
------------------------------------------------------------------------------------------------------------------
Output:
---------------
Error output:
Connection failed (error code is 10061)
------------------------------------------------------------------------------------------------------------------
Copy zipfile
Result: Success
Last run: 4/25/2012 4:37:10.28 AM
Last exited: 4/25/2012 4:37:10.28 AM
Execution time: 0.001 seconds
------------------------------------------------------------------------------------------------------------------
Output:
---------------
Error output:
And this is the serverlog:
4/25/2012 4:32:06 AM Info Task started: Copy zipfile (190189)
4/25/2012 4:32:07 AM Err Error connecting: Connection failed (error code is 10061)
4/25/2012 4:32:07 AM Info Task completed: Copy zipfile (190189)
...
4/25/2012 4:37:10 AM Info Task started: Copy zipfile (190200)
4/25/2012 4:37:10 AM Info Task completed: Copy zipfile (190200)
When I manual ran the job again the copy went fine:
------------------------------------------------------------------------------------------------------------------
Copy zipfile
Result: Success
Last run: 4/25/2012 9:15:50.10 AM
Last exited: 4/25/2012 9:15:53.52 AM
Execution time: 3.418 seconds
------------------------------------------------------------------------------------------------------------------
Output:
Server key received (RSA). Fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Changed folder to: /
Uploaded file: F:\Data\FTP\xxx\toZV\xx\Dagbestanden2\dagbest.zip > /dagbest.zip
---------------
Error output:
and the server log:
4/25/2012 9:15:50 AM Info Task started: Copy zipfile (193285)
4/25/2012 9:15:53 AM Info Task completed: Copy zipfile (193285)
As you can see the copy task taskes a few seconds to complete. So the task from 4:37AM can't be successful. There is also no output of the task telling me there has been a file copy. My manual try has output as you can see.
To work around this, I made a condition to check the output of the upload task, but this is a firefight solution.
How can the task be ok, the file was there but nu uploaded file??
Regards,
Erik
Edited by user
2012-04-25T11:25:27Z
|
Reason: typo
Uses Visualcron since 2006.