I was able to use this to FTP a file.
Took me a bit to understand how to call it.
I ended up pulling it into my hot-deploy, but now think it might of been
there available, but I was not calling correctly.
in controller I ended up using
    <request-map uri="putFtpFile">
        <security https="false" auth="false"/>
        <event type="service" invoke="ftpPutFile"/>
        <response name="success" type="view" value="ftpComplete"/>
        <response name="error" type="view" value="ftpSend"/>
    </request-map>
My send form need all the required attributes (or you get IN missing error).
I copied the service XML content from its original location.
I did not seem to be able to get my hot deploy app to see the ftpPutfile. I
tried using a location setting it where it was in common. i tried using
services.xml in my hot deploy. I guess I just dont understand it. I use
other services in other components, but this might of been my first java
one.
I implemented the mod suggested adding a port number, just in case.




-----
Joel Fradkin
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Fetching-File-from-FTP-server-tp144906p4656005.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to