Hi folks,
I have an XI server running on a Linux machine. I am working on developing an EJB Adapter module for XI. Now the requirement is to connect to a remote machine and pick and read the files lying in a folder. So I have opened an ftp connection and i could read the file and proceed with necessary processing.
Now the problem is I have to delete the file after reading it , I couldn't get a clue on how to do it since the ftpclient API which i used for picking the files doesn't provide a method for deletion. The API i have used is sun.net.ftp.FtpClient .
Can someone suggest me how to accomplish this?
Thanks
Best Regards
Mohan.