I want my Java client to download for e.g. all XML files from a remote server through FTP. In other words, I want the URL to look something like this:
URL url = new URL("ftp://userName swd@ftp.site.com/*.xml")
How can I achieve this? In other words, is there some way I can retrieve all the file names that meet that wildcard criteria and then subsequently download those files one at a time.
Can a URL contain wildcard chars? If I have my information correct, the concerned RFC says it cannot contain wildcards.
Thnx
URL url = new URL("ftp://userName swd@ftp.site.com/*.xml")
How can I achieve this? In other words, is there some way I can retrieve all the file names that meet that wildcard criteria and then subsequently download those files one at a time.
Can a URL contain wildcard chars? If I have my information correct, the concerned RFC says it cannot contain wildcards.
Thnx