You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi,
I have a problem with the component tSCPPut.
So my problem is :
I try to send a file by SCP connection but in the server the folder doesn't exist, so i think the execution pass in the link "onComponentError" but no, the execution follow the link "onComponentError". Moreover, i have a beautiful error :
java.io.IOException: Error during SCP transfer.
at ch.ethz.ssh2.SCPClient.put(SCPClient.java:577)
at ch.ethz.ssh2.SCPClient.put(SCPClient.java:535)
at envoiscp.uploadscp_0_1.UploadSCP.tSCPPut_1Process(UploadSCP.java:2862)
at envoiscp.uploadscp_0_1.UploadSCP.tSCPConnection_2Process(UploadSCP.java:1812)
at envoiscp.uploadscp_0_1.UploadSCP.tFileCopy_1Process(UploadSCP.java:1717)
at envoiscp.uploadscp_0_1.UploadSCP.tRunJob_1Process(UploadSCP.java:4247)
at envoiscp.uploadscp_0_1.UploadSCP.tFileRowCount_1Process(UploadSCP.java:4033)
at envoiscp.uploadscp_0_1.UploadSCP.tFileExist_1Process(UploadSCP.java:3821)
at envoiscp.uploadscp_0_1.UploadSCP.tFileList_1Process(UploadSCP.java:5088)
at envoiscp.uploadscp_0_1.UploadSCP.tSetGlobalVar_1Process(UploadSCP.java:6218)
at envoiscp.uploadscp_0_1.UploadSCP.runJobInTOS(UploadSCP.java:7538)
at envoiscp.uploadscp_0_1.UploadSCP.main(UploadSCP.java:7250)
Caused by: java.io.IOException: Remote scp terminated with error (scp: /production/Appli/M2OSIR2/data/PREPAR/tempo/: No such file or directory).
at ch.ethz.ssh2.SCPClient.readResponse(SCPClient.java:61)
at ch.ethz.ssh2.SCPClient.sendFiles(SCPClient.java:165)
at ch.ethz.ssh2.SCPClient.put(SCPClient.java:573)
... 11 more
I have you an idea to correct this problem?
Thanks,
Ben
Offline

Hi Ben
What do you mean this?
so i think the execution pass in the link "onComponentError" but no, the execution follow the link "onComponentError"
Regards,
Pedro
Offline
Hi,
Ths following image could explain my problem
[img]http://image.noelshack.com/fichiers/2012/28/1342077018-Sanstitre.png[/img]
When i have an error in tSCPPut component like (java.io.IOException: Remote scp terminated with error (scp: /production/Appli/M2OSIR2/data/PREPAR/tempo/: No such file or directory), i think the next instruction is "pb13Envo" but he go in tSCPRename.
I expect that i'm more precise.
Thanks,
Ben
Offline

Hi Ben
tSCPPut.STATUS is a workaround under TOS 4.1.2.
But I still think you'd better update TOS later if you are sure that the trigger "OnComponentError" doesn't work.
Regards,
Pedro
Offline
Pages: 1