Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
8.4k views
in Java FTP by
FTPClient ftp = new FTPClient(host);
FTPMessageCollector listener = new FTPMessageCollector();
ftp.setMessageListener(listener);
{
ftp.get(files[i]);
}

com.enterprisedt.net.ftp.FTPException: Can't open fil?n?me.txt: No such file or directory

12 Answers

0 votes
by (460 points)
I use dos command, type "ftp" ......

and type "dir --> test.log"

and then the test.log :

06-06-06  07:38PM       <DIR>          965PreLaunch
05-30-06  03:23PM       <DIR>          eDM
06-06-06  07:33PM       <DIR>          eNetWorking
06-07-06  07:18PM       <DIR>          eng
06-02-06  12:12PM                   42 index.htm
06-01-06  09:56AM       <DIR>          Intel_ICRT
05-10-06  12:18PM       <DIR>          scripts-include
05-11-06  10:46AM       <DIR>          site_twn
05-12-06  11:18AM       <DIR>          sites
05-26-06  12:32PM       <DIR>          twn
05-19-06  07:56PM       <DIR>          UploadTest
06-08-06  02:04PM       <DIR>          中文


ok!

BTW, my ftp server is IIS
0 votes
by (162k points)
With the ParsingCulture set, what do you see in the debug log, i.e. the "lines.Add" lines?

Categories

...