Author |
Message
|
Anjali |
Posted: Wed Aug 03, 2016 1:48 am Post subject: hw to place Incoming file to other location with same name? |
|
|
Novice
Joined: 20 Jul 2016 Posts: 11
|
My requirement is to pick up the file/files from FTP and place in any other location with the same name ??? Could anyone suggest me ideas how to do this??  |
|
Back to top |
|
 |
timber |
Posted: Wed Aug 03, 2016 1:55 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
We could. But we would prefer to do that *after* you have told us everything that you know about the problem and the possible solutions. |
|
Back to top |
|
 |
Anjali |
Posted: Wed Aug 03, 2016 1:58 am Post subject: hw to place Incoming file to other location with same name? |
|
|
Novice
Joined: 20 Jul 2016 Posts: 11
|
I haven't started yet to get any problem. i just wanted some ideas like hw to initiate that. how can we replace the file/ files in output location with the same name? |
|
Back to top |
|
 |
adubya |
Posted: Wed Aug 03, 2016 3:02 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
Have a look at the FIleInput and FileOutput nodes, they have this capability.
If by hw you mean hardware, then you posted in the wrong forum  _________________ Independent Middleware Consultant
andy@knownentity.com |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 03, 2016 3:44 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
As mentioned by my esteemed colleague, you can use the FileInput/Output nodes to do this.
It's probably, or almost certainly, a bad idea to do this. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 03, 2016 4:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
It's probably, or almost certainly, a bad idea to do this. |
if all you want is:
Anjali wrote: |
My requirement is to pick up the file/files from FTP and place in any other location with the same name |
then I would have thought a shell script / bat file would be the easiest way. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mayheminMQ |
Posted: Thu Aug 04, 2016 5:28 am Post subject: |
|
|
 Voyager
Joined: 04 Sep 2012 Posts: 77 Location: UK beyond the meadows of RocknRoll
|
If you have a bunch of requirements for moving files between FTP servers without fiddling with the data inside, take a look at MQ FTE. A much sharper, streamlined solution for file transfers..
I always feel bad when IIB is used primarily for FTP transfers. Its like asking Houdini to do pull a penny from behind the ear trick. _________________ A Colorblind man may appear disadvantaged but he always sees more than just colors... |
|
Back to top |
|
 |
|