FileUtils.copyURLToFile(ftpUrl, destFile);
Is there any way I can check if a filename exists in the FileURL on the ftp location?
ftpURL: ftp://username:pwd@ftp.abcd.com/filename
Version used: commons-io-2.1.jar. I looked at commons-io.2.4.jar directoryContains() looks right but its only to check for a file in directory and not for FTP URL.
Thanks.