Can any one let me know what is th easy way to ftp file from windows to linux machine using java net package.

With the java program mentioned below I am getting below error

Error: org.apache.comm ons.net.Malform edServerReplyEx ception: Could not parse response code.
Server Reply: SSH-1.99-OpenSSH_3.9p1

I am able to ftp the same file using winscp. but when I try to ftp from my java program it's throwing...