Author |
Message
|
somsayan |
Posted: Mon Dec 20, 2010 4:45 pm Post subject: MQFTE file transfer error |
|
|
Apprentice
Joined: 06 Apr 2007 Posts: 49
|
Hi,
I have two system running on windows. Each have MQFTE server installed on them. When I try to transfer a file from one agent to another it fails because the folder name changes to contain '/' instead of the '\' i provided. I'm new to this tool and is learning all the features.
I need help on how to stop the agent change the slashes. I am trying this from the MQ Explorer. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Dec 20, 2010 5:53 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Did it fail with an error message of some kind? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
somsayan |
Posted: Mon Dec 20, 2010 5:57 pm Post subject: |
|
|
Apprentice
Joined: 06 Apr 2007 Posts: 49
|
It failed.. stating Invalid arguments.
This is what I can see from the log XML view
<status resultCode="1">
<supplement>Invalid argument</supplement>
</status> |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Dec 20, 2010 5:59 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
And did the message have an associated error message identifier? Like AMQnnnn... _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
somsayan |
Posted: Mon Dec 20, 2010 6:05 pm Post subject: |
|
|
Apprentice
Joined: 06 Apr 2007 Posts: 49
|
I'm not sure how to check for the AMQ error number, since this is a file to file transfer only |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 20, 2010 6:41 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
check out how java file url work...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Dec 20, 2010 6:44 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
I'm not sure how to check for the AMQ error number, since this is a file to file transfer only |
Where did you see the error? On the Explorer? Usually the error text is preceded by an error number you can look up in the InfoCenter.
Exactly how did you start the file-transfer? (Please don't answer "with the Explorer".) _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
somsayan |
Posted: Mon Dec 20, 2010 6:53 pm Post subject: |
|
|
Apprentice
Joined: 06 Apr 2007 Posts: 49
|
I created a monitor on a directory. When i put a file on this monitored directory for some files I see that the file transfer is correctly done and for some it fails
This has been happening for mainly the destination folder path. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 20, 2010 7:18 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
somsayan wrote: |
I created a monitor on a directory. When i put a file on this monitored directory for some files I see that the file transfer is correctly done and for some it fails
This has been happening for mainly the destination folder path. |
AFAIK the agent is written in Java. You might benefit by using a standard java file URL notation (for instance "file:///c:/Document and Settings/myuser/My Documents/mytransferfiles/transferfile.ext") notice that there are no backslashes. Typically if you do use backslashes you need to double them as the backslash is also the escape char.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mphillip |
Posted: Tue Jan 04, 2011 8:04 am Post subject: |
|
|
Apprentice
Joined: 03 Feb 2009 Posts: 49
|
Can I ask why you think that something is changing \ to / ? What are you seeing in MQ Explorer that makes you think this?
If you are initialising the transfers through MQExplorer, you should also be able to view the transfer failures there and that will give you a reason for the failures.
Under the 'transfer log' section in MQ Explorer should be a list of all of your transfers. You should be able to expand a failed transfer to get an error message explaining why the transfer failed.
If you are using a directory monitor to transfer files, and you drop the 'same' test file into your source directory, have you enabled 'overwrite files on the destination file system that have the same name' for the transfer/monitor? If not it could be failing because the destination file already exists. |
|
Back to top |
|
 |
mphillip |
Posted: Tue Jan 04, 2011 8:06 am Post subject: |
|
|
Apprentice
Joined: 03 Feb 2009 Posts: 49
|
fjb_saper wrote: |
AFAIK the agent is written in Java. You might benefit by using a standard java file URL notation (for instance "file:///c:/Document and Settings/myuser/My Documents/mytransferfiles/transferfile.ext") notice that there are no backslashes. Typically if you do use backslashes you need to double them as the backslash is also the escape char. |
FTE does not use this file notation. Just use file paths as they would appear on the appropriate source or destination. |
|
Back to top |
|
 |
mphillip |
Posted: Tue Jan 04, 2011 8:11 am Post subject: |
|
|
Apprentice
Joined: 03 Feb 2009 Posts: 49
|
bruce2359 wrote: |
And did the message have an associated error message identifier? Like AMQnnnn... |
As an aside - File Transfer Edition uses BFGXXnnnn messages rather than AMQnnnn ones. Any AMQnnnn error messages you see when using FTE will have been generated in MQ and FTE is just showing you the error it was given by MQ. |
|
Back to top |
|
 |
|