RE: BUG? org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134)

2008-12-21 Thread Dan
One of the nice features of the ftp server is its abstraction of the "file system". I don't use a java.io.File object. Dan -Original Message- From: David Latorre [mailto:dvl...@gmail.com] Sent: December-21-08 6:08 PM To: ftpserver-users@mina.apache.org Subject: Re: BUG? org.apache.ftpser

Re: BUG? org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134)

2008-12-21 Thread David Latorre
Hello Dan, AFAIK, moving a file doesn't change the path in the java.io.File object (The same way you can get the absolute path for a non-existent file). 2008/12/21 Daniel Frank > When doing a rename, consider the line: > > LOG.info("File rename (" + session.getUser().getName() + ") " >

BUG? org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134)

2008-12-21 Thread Daniel Frank
When doing a rename, consider the line: LOG.info("File rename (" + session.getUser().getName() + ") " + frFile.getAbsolutePath() + " -> " + toFile.getAbsolutePath()); This log statement asks for the absolute path for the frFile. But this file has just been moved. For the s