|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem with WinSCP/SFTP |
« View previous topic :: View next topic » |
Author |
Message
|
rhine |
Posted: Mon Nov 23, 2015 7:40 am Post subject: Problem with WinSCP/SFTP |
|
|
Novice
Joined: 17 Nov 2015 Posts: 16
|
I have added this little ultra easy script using WinSCP, to a JobExecution Node
open sftp://user:@Dpw@ipadress
get path_remote_machine path_local_machine
exit
I have got two problems:
The first one is, even downloading the files and putting them in the correct folder, log tells me this:
"The system cannot find the path specified."
I could survive with that whenever i got the files but,
the problem comes when, for one reason or another, the automation makes the call to my script more than once and sftp ask for feedback from the user:
Choose, if you want to overwrite the file or skip this transfer and keep existing file.
New: 287 bytes, 11/23/2015 1:44:53 PM
Existing: 287 bytes, 11/23/2015 1:44:53 PM
(Y)es, (N)o, (C)ancel, Yes to A(l)l, N(o) to All, A(p)pend, New na(m)e, Ne(w)er only: Cancel
I think for this reason, the program gets stucked and tries to make calls forever.
Ive also tried to use this switch, which appears in WinSCP documentation:
get -neweronly path_remote_machine path_local_machine
Also with no success. It says that -neweronly is not a recognized switch.
Did you face this issue before?
Does anyone have some solution or tip?
Thanks in advance |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|