hi all i need urgent help.Thanks in advance.
i have java code on windows and some files in unix server.
I just want to read that file from unix server and apply my business logic.
I have approch for that like
first using FTP i will take a copy of these files from unix to windows.
second i will read the file.

Please help me to FTP the file from UNIX server to windows.

Regards,
Anurag

Thanks kramerd.....i am getting exception after
ftp.connect(ftpHost.getHostName(), 22);

"org.apache.commons.net.MalformedServerReplyException: Could not parse response code."

I have tried but couldn't get the solution for that...even in that URL...only question is there...

There is a whole discussion there, not just a question. Did you read about SFTP? Is that maybe the problem you're having?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.