ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ File Transfer Edition » MQFTE file transfer error

Post new topic  Reply to topic
 MQFTE file transfer error « View previous topic :: View next topic » 
Author Message
somsayan
PostPosted: Mon Dec 20, 2010 4:45 pm    Post subject: MQFTE file transfer error Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Dec 20, 2010 5:53 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
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
View user's profile Send private message
somsayan
PostPosted: Mon Dec 20, 2010 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Dec 20, 2010 5:59 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
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
View user's profile Send private message
somsayan
PostPosted: Mon Dec 20, 2010 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 20, 2010 6:41 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

check out how java file url work...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Mon Dec 20, 2010 6:44 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
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
View user's profile Send private message
somsayan
PostPosted: Mon Dec 20, 2010 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 20, 2010 7:18 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
mphillip
PostPosted: Tue Jan 04, 2011 8:04 am    Post subject: Reply with quote

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
View user's profile Send private message
mphillip
PostPosted: Tue Jan 04, 2011 8:06 am    Post subject: Reply with quote

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
View user's profile Send private message
mphillip
PostPosted: Tue Jan 04, 2011 8:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ File Transfer Edition » MQFTE file transfer error
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.