ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem with WinSCP/SFTP

Post new topic  Reply to topic
 Problem with WinSCP/SFTP « View previous topic :: View next topic » 
Author Message
rhine
PostPosted: Mon Nov 23, 2015 7:40 am    Post subject: Problem with WinSCP/SFTP Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem with WinSCP/SFTP
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.