Continuing from the following topic :
When I pass argument in the form:
InputStream in = new URL("ftp://username:email@example.com/file.ext").openStream();
I get exception as :
: A file or directory in the path name does not exist.
File permissions on test.txt are -rw-r--r--
and I am connecting as authorized user not anonymous user.