I am having some problem to get file from URL (of a unix server) with password.
I keep on getting this error: "FileNotFoundException"
However, if I enter the url in the Internet Explorer,
I am able to access the file.
My code is as follow:
BufferedInputStream input = null;
BufferedOutputStream output = null;
String address = "ftp://username email@example.com
URL url = new URL(address);
URLConnection conn = url.openConnection();
//I got the ERROR at this code below
input = new BufferedInputStream(conn.getInputStream());
What could be the possible problem?
Thanks in advance for your advise.
[ September 10, 2007: Message edited by: harry flower ]