on 11-21-2008 7:46 PM
What would be root cause of the following error ?
We are sending XML file to FTP server ?
"An error occurred while connecting to the FTP server '150.105.62.15:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 502 Command not supported.'. For details, contact your FTP server vendor."
Thanks
VJ
Hi
This Type of Error occurrs due to many reasons such as
1 if your XML message format is not correct, so check your generate XML payload in SXMB_MONI
2 Make sure that the FTP sever does not have issues with Firewall or a Proxy server access
3 Also verify that the specified FTP user ID has the necessary WRITE or overwrite authorization
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for your quick response.
Here is some more info on the problem.
PI gets a file from our side FTP server and PUT the file in the 3rd Party FTP server.
PI is successfully getting the file. PI receives error(com.sap.aii.adapter.file.ftp.FTPEx: 502 Command not supported) when Putting the file in the 3rd Party server. Pl see the audit log below
does the file need to have 777 permission on the getting side or putting side or both ? Our FTP server and files are Windows based.
I changed the scenario to get and put the file at the same location (our location). it works fine.
thanks
VJ
Audit Log for Message: aaa84923-55e4-45bd-11d0-da7c956cd971
Time Stamp Status Description
2008-11-24 11:10:47 Success The message was successfully retrieved from the receive queue.
2008-11-24 11:10:48 Success Write to FTP server "150.105.62.15", directory "\tovan", -> file "LeprinoFoods20081124-111048-365.xml"
2008-11-24 11:10:48 Success Transfer: "BIN" mode, size 988 bytes, character encoding -
2008-11-24 11:10:51 Error Attempt to process file failed with com.sap.aii.adapter.file.ftp.FTPEx: 502 Command not supported.
2008-11-24 11:10:51 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Command not supported.: com.sap.aii.adapter.file.ftp.FTPEx: 502 Command not supported.
2008-11-24 11:10:51 Error Exception caught by adapter framework: Command not supported.
2008-11-24 11:10:51 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Command not supported.: com.sap.aii.adapter.file.ftp.FTPEx: 502 Command not supported..
2008-11-24 11:10:51 Error The message status set to NDLV.
All,
Thanks for your response. We have finally resolved the problem . Here is the root cuase.
We were trying to put the file in a wrong directory. Once that was changed, the file was put in the destination directory but the Communication channel monitoring still returns the same 502 error.
After a lots of research,We found that it was to due to a set up in the communication channel. We set the processing parameters PUT FILE to "Use Temporary File". When we changed it to "DIRECTORY",It started to work fine.
Thanks for all you help
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
as said above, plz check for the file permission or it will be better to keep all the files in a directory with 777 permission.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vijaya
This is a file permission issue. Check if the file has 777 as permission to be processed through PI. Even PI user has permission to read file from the directory.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.