Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Windows
Description
General
- If you use UNC paths then note that the JobScheduler service has an account which has sufficient permissions to connect with the remote host from the UNC path.
- Otherwise the UNC path is not found and you get an exception
directory does not exist: <local_dir>
.
Current Situation
- Using the SCP JITL job with a UNC path (here: \\8of9\c\tmp\scp) for the local_dir parameter and the setting recursive=false results in the local_dir setting being used twice for different purposes ("get" instead of "put"):
\\8of9\c\tmp\scp\8of9\c\tmp\scp\1.txt
- In consequence an exception is raised:
2013-08-05 17:00:23.574 [info] java.io.IOException: Error during SCP transfer. 2013-08-05 17:00:23.574 [info] at com.trilead.ssh2.SCPClient.put(SCPClient.java:575) 2013-08-05 17:00:23.574 [info] at com.trilead.ssh2.SCPClient.put(SCPClient.java:533) 2013-08-05 17:00:23.574 [info] at com.trilead.ssh2.SCPClient.put(SCPClient.java:411) 2013-08-05 17:00:23.574 [info] at sos.scheduler.job.JobSchedulerSCPJob.spooler_process(JobSchedulerSCPJob.java:258) 2013-08-05 17:00:23.574 [info] Caused by: java.io.FileNotFoundException: \\8of9\c\tmp\scp\8of9\c\tmp\scp\1.txt (Das System kann den angegebenen Pfad nicht finden) 2013-08-05 17:00:23.574 [info] at java.io.FileInputStream.open(Native Method) 2013-08-05 17:00:23.574 [info] at java.io.FileInputStream.<init>(Unknown Source) 2013-08-05 17:00:23.574 [info] at com.trilead.ssh2.SCPClient.sendFiles(SCPClient.java:188) 2013-08-05 17:00:23.574 [info] at com.trilead.ssh2.SCPClient.put(SCPClient.java:571) 2013-08-05 17:00:23.574 [info] ... 3 more
Workaround
- The problem does not occur with the setting recursive=true