Forum Discussion
Justin_Lanoue
Advisor
5 months agoThanks, I didn't know that this existed.
Although, I'm not able to get this to work. It always says "No such file or directory"
sftp.files = /tmp/test.conf
ls -l /tmp/test.conf
-rw-rw-r-- 1 user user 9 Nov 12 20:22 /tmp/test.conf
Error!
The script failed, elapsed time: 0 seconds - java.io.IOException: No such file or directory
java.lang.RuntimeException: java.io.IOException: No such file or directory
at com.logicmonitor.groovy.objects.BaseWrapper.invoke(BaseWrapper.java:124)
at com.logicmonitor.groovy.objects.lang.ScriptWrapper.run(ScriptWrapper.java:31)
Any assistance would be greatly appreciated.
Joe_Williams
Professor
5 months agoThis sounds like a permission issue but your tmp test should have worked.
Honestly, all we did was add the sftp.files property with our few files and it worked.
Related Content
- 12 months ago
- 4 months ago