I have this code:
FileTransferClient client = new FileTransferClient();
client.setRemoteHost("xxx");
client.setUserName("xxx");
client.setPassword("xxx");
client.connect();
client.exists("abc.txt"); <- Exception here
this is the exception I have :
com.enterprisedt.net.ftp.FTPException: Unable to determine if file 'abcd.txt' exists.
at com.enterprisedt.net.ftp.FTPClient.exists(FTPClient.java:1841)
at com.enterprisedt.net.ftp.FileTransferClient.exists(FileTransferClient.java:673)
at com.bpr_cso.dgp.benchtest.CACNFiles.saveFile(CACNFiles.java:243)
at com.bpr_cso.dgp.benchtest.CACNFiles.sendFile(CACNFiles.java:197)
at com.bpr_cso.dgp.benchtest.DGPBenchtest.execute(DGPBenchtest.java:139)
at com.bpr_cso.dgp.benchtest.DGPBenchtest.main(DGPBenchtest.java:295)
When I trace the code, I can see the "lastReply.getReplyText()" is "abc.txt: Le fichier sp