I have a process that opens an ftp session with an ftp server using FTPClient, creates a temporary directory on the server, loads a seried of files into the temporary directory, then renames the temporary directory to the directory that it should be. Everything works fine until I try to rename the directory to its permanent name using FTPClient.rename(). The call throws an FTPException with a message of 'File Exists'. :?
I tried using the windows command line ftp to rename the file and it does it without a problem, though it does show the File Exists line coming from the RNFROM ftp command when I turn on debug.
Is the FTPClient.rename() method catching this message from RNFROM and interpreting it as an error?
I'm using version 1.4.4 of edtftpj.
Any help would be appreciated.