ftp - java code to download a file from server - Stack Overflow
It is only possible if server lists directory contents. if it does, your can make an HTTP request to: http://server:port/folder that would give you list of files. Once you have that, you can download individual files by parsing output if this http request...