|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
temp output file |
« View previous topic :: View next topic » |
Author |
Message
|
tatyeong |
Posted: Tue Jul 13, 2010 4:12 am Post subject: temp output file |
|
|
Acolyte
Joined: 16 Apr 2010 Posts: 52
|
Hi,
I have set the doNotUseTempOutputFile to true in agent.properties. However when I transfer a file (~500Mb), e.g. text.txt. I see that text.txt being created in destination while the transfer is still in progress, and the file size grows gradually until it reaches 500Mb when the transfer is completed.
Is there a way to suppress this behavior? Or is this something built-in? |
|
Back to top |
|
 |
mphillip |
Posted: Wed Jul 14, 2010 4:39 am Post subject: |
|
|
Apprentice
Joined: 03 Feb 2009 Posts: 49
|
You are getting the expected behavior.
Normally (without that property specified) FTE will create text.txt.part while the transfer is progressing, and then rename that to text.txt when the transfer/file is completed.
By specifying doNotUseTempOutputFile you tell the agent not to create this .part file and instead to write directly into the destination filename.
What behavior do you want? |
|
Back to top |
|
 |
tatyeong |
Posted: Wed Jul 14, 2010 6:43 am Post subject: |
|
|
Acolyte
Joined: 16 Apr 2010 Posts: 52
|
Thanks, I figured that out too.
Anyway, relating to this question is that I was testing a scenario where the source FTE agent went down suddenly during a file transfer. After restarting the FTE agent, the transfer resume.
By setting doNotUseTempOutputFile to true, the resumed transfer got a file exists error at the end of the transfer, even though the 'file exist' refers to the file in destination that was generated half way.
It seems the only for the resume transfer to work correctly is to leave the doNotUseTempOutputFile setting to default=false. |
|
Back to top |
|
 |
mphillip |
Posted: Wed Jul 14, 2010 7:16 am Post subject: |
|
|
Apprentice
Joined: 03 Feb 2009 Posts: 49
|
That sounds like a bug to me - you should raise a PMR |
|
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
|
|
|
|