|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
FileOutput log in to shared folder |
« View previous topic :: View next topic » |
Author |
Message
|
ldtluxury |
Posted: Thu Jun 25, 2015 2:04 am Post subject: FileOutput log in to shared folder |
|
|
 Apprentice
Joined: 22 Oct 2014 Posts: 29
|
Hello everyone!
Could you please help with this question:
I need to write file to the shared folder on remote server.
So, the problem is that I need to log in to this remote folder with special account(not in Active Directory) on server.
Is it possible to use FileOutput node with special accounts?
Thanks a lot. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 25, 2015 5:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The shared file system should be mounted as a windows disk, or available through sftp.
If you mount it, you need to make sure that the mount includes the necessary authentication, and that it's done so that it's visible to the broker processes.
If you only need access to it periodically, you should use something like sftp.
But you should really avoid using files. |
|
Back to top |
|
 |
ldtluxury |
Posted: Thu Jun 25, 2015 11:21 pm Post subject: |
|
|
 Apprentice
Joined: 22 Oct 2014 Posts: 29
|
mqjeff wrote: |
The shared file system should be mounted as a windows disk, or available through sftp.
If you mount it, you need to make sure that the mount includes the necessary authentication, and that it's done so that it's visible to the broker processes.
If you only need access to it periodically, you should use something like sftp.
But you should really avoid using files. |
Thanks.
But there is the next question:
Is it possible to map drive in integration bus (by using standard functionality)?
If not, then I'll try use Java for it.
But there is the problem: How to store password for drive mapping command? Is it possible to use standard broker's password storage in Java? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 26, 2015 5:11 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
No.
YOU SHOULD NOT MANAGE THE DRIVE MAPPING FROM YOUR FLOW.
If you need to talk to multiple different disks, YOU SHOULD USE FTP OR OTHER FILE TRANSFER SOLUTION.
If you use *standard windows desktop or command line functions* you can map the drive, in the environment the broker service user runs under, and have *windows* store the userid and password for you.
I repeat.
DO NOT IMPLEMENT THIS IN CODE. |
|
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
|
|
|
|