Author |
Message
|
archana123 |
Posted: Tue Jul 21, 2015 9:27 am Post subject: SFTP Connection via IBM IIB? |
|
|
Novice
Joined: 21 Jul 2015 Posts: 14
|
Does IIB provide support to connect to a FTP/SFTP server?
If so, please explain which node needs to be used. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 21, 2015 9:31 am Post subject: Re: SFTP Connection via IBM IIB? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
archana123 wrote: |
Does IIB provide support to connect to a FTP/SFTP server? |
Yes.
archana123 wrote: |
If so, please explain which node needs to be used. |
The ones that it's not hard to guess, if you think about what the File Transfer Protocol is used for.
Or if you prefer:
The ones that come up if you type "ftp" into the InfoCenter search. The same search will also have a number of useful links on how to configure the transfer (especially for sftp) and what options exist to avoid hard coding server names.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
archana123 |
Posted: Tue Jul 21, 2015 7:22 pm Post subject: |
|
|
Novice
Joined: 21 Jul 2015 Posts: 14
|
Yes I did try FileInput node and gave the FTP server and port details and username in the respective tabs. But I was unable to connect to it. I also connected a trace node to my failure node to see if any error occurred. But that too did not help.
I am not sure how to give my password in this.
Could you please help |
|
Back to top |
|
 |
exerk |
Posted: Wed Jul 22, 2015 1:55 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Moved to the Broker forum... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Wed Jul 22, 2015 2:07 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
First of all - use a configurable service to hold the FTP/SFTP server name and directory details - never hard code these in a flow.
Secondly - use mqsisetdbparms command to store credentials for access. Use SSH keys for SFTP in preference to passwords.
The "username" as you call it - is the name of the security id, which is set by mqsisetdbparms. That entry holds the actual FTP userid/password or reference to the key file.
RTM. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
nelson |
Posted: Thu Jul 23, 2015 5:43 am Post subject: |
|
|
 Partisan
Joined: 02 Oct 2012 Posts: 313
|
|
Back to top |
|
 |
|