Wednesday, April 29, 2009

Error in getting File from FTP

Problem:
Sometimes when you try to GET(Read) a pdf file from the FTP folder(using FTP adapter) in the bpel process, you get following error:

FTP Command: RETR, reply:
550 RETR Error: IFS-32615: "/TestFolder/Read/demo.pdf": Path is invalid.
Unable to get Binary file '/TestFolder/Read/demo.pdf' ; FTP command RETR returned unexpected reply code : 550

Solution:
1) Goto the following SOA Server location:
<SOA_HOME>\j2ee\oc4j_soa\application-deployments\default\FtpAdapter
2) Open oc4j-ra.xml file in Notepad.
3) Navigate to
4) Change value="" to value="UTF-8"
5) Save the file
6) Bounce the SOA Server.

No comments: