Close
jGuru Forums
Posted By: shane_r Posted On: Thursday, October 7, 2004 12:55 AM
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:pswd@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
Re: wildcarding a URL
Posted By: Christopher_Koenigsberg Posted On: Friday, October 8, 2004 12:11 PM