Hi all, is this code supposed to only work on windows machines?
I have the problem that the code I have for testing works fine (on a Windows machine), but as soon as I try and run the same code on a hpux sever, it fails, saying that it cannot find the file or directory of the file I am wanting to upload...
When if you try going to the said directory via unix, or even manually through FTP for that matter... they do actually exist.
com.enterprisedt.net.ftp.FTPException: Could not determine cwdir: No such file or directory.
at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:800)
at com.enterprisedt.net.ftp.FTPClient.initPut(FTPClient.java:1446)
at com.enterprisedt.net.ftp.FTPClient.putData(FTPClient.java:1500)
at com.enterprisedt.net.ftp.FTPClient.putData(FTPClient.java:1480)
at com.enterprisedt.net.ftp.FTPClient.put(FTPClient.java:1306)
at com.enterprisedt.net.ftp.FTPClient.put(FTPClient.java:1278)
at com.enterprisedt.net.ftp.FTPUploadFile.run(FTPUploadFile.java:81)
Could not determine cwdir: No such file or directory.
Upload of: '/****/www/web/certificate/new/beta.html' to ****.***.****.***: /****/www/htdocs/certificate/new' FAILED
The final line is one I have output myself, detailing the location of the file to be upoaded, then the host: directory to upload to
(Some strings replaced with *** for security)
Has anybody had this problem, or know of a possible fix?