Author |
Message
|
saurabh867 |
Posted: Mon Apr 18, 2011 12:47 am Post subject: Can FileInput Node access remote directory |
|
|
Voyager
Joined: 13 Jun 2010 Posts: 78
|
Hi,
Can FileInput node poll on a remote directory. I have shared a directory on another windows machine and have deployed my message flow on another windows machine.
Can the node access the remote directory. I tried but it was not picking. Do we need to do any specific action for this.
Regards,
Saurabh |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Apr 18, 2011 1:40 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
By and large, FileInput node should use the operating system to open whatever path is given to it. So if the operating system provides a mechanism for a path that mentions a remote server, then FileInput should use that.
But remember that FileInput node uses the Broker service user to access the remote path.
Unless you set up FTP and configure an FTP security id using mqsisetdbparms. |
|
Back to top |
|
 |
bielesibub |
Posted: Wed Apr 20, 2011 6:01 am Post subject: |
|
|
 Apprentice
Joined: 02 Jul 2008 Posts: 40 Location: Hampshire, UK
|
How are you specifying the directory to access? I found that I couldn't connect remotely using a mapped drive but could connect with no problems when specifying the remote system name in the directory string, e.g.;
\\someComputerName\remotedirectory
BTW, this is with v7. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 20, 2011 6:02 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You should be able to use a mapped drive, provided you have actually taken steps to ensure that the drive mapping exists in the Broker's environment - which it does not necessarily do if you log in as some random user and map the drive. |
|
Back to top |
|
 |
bielesibub |
Posted: Wed Apr 20, 2011 6:06 am Post subject: |
|
|
 Apprentice
Joined: 02 Jul 2008 Posts: 40 Location: Hampshire, UK
|
hmmm.. tried that, mapped the drive using the service user id, restarted broker etc.. if I get time will revisit what I did! Cheers mqjeff. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 20, 2011 6:13 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
bielesibub wrote: |
hmmm.. tried that, mapped the drive using the service user id, restarted broker etc.. if I get time will revisit what I did! Cheers mqjeff. |
try putting a .bat file that does NET USE in common/profiles...  |
|
Back to top |
|
 |
|