Posted: Sat Sep 20, 2014 10:09 am Post subject: MQFTE to FTP
Master
Joined: 07 Sep 2008 Posts: 240
Hi, I have a MPG which has a MQFTE FSH and receives messages via MQFTE. Now those messages need to be ftped to a dir with a file name (file name is coming through MQFTE queue) Now Datapower adds an addtional value to the filename as datetime (which is FILENAMEDATETIME). Now my xsl in the MPG is able to put the files to the dir without the datetime ie the file name recevied through MQFTE (through RFH2 headers) but when DP add the datetime to the file name and try to put the file to the dir, I get an error as Cannot write/access the file, when checked the server logs at the FTP I see that the error is file does not have access.
I am in doubt if I need to write any thing else in my code to have this file copied to the dir when I am adding the datetime filed with the file name.
I am using the ftp url in dp. I am able to ftp with the simple file names which is received but the problem comes when I add the datetime field.
Thanks for your help
Finally I got my issue resolved. The issue was the date function I used gives the date in a format which is not acceptable in a filename. After changing the formats all went fine.
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