On Tuesday 01 July 2008 14:26, Daniel Cheng wrote: > On Tue, Jul 1, 2008 at 8:34 PM, Matthew Toseland > <[EMAIL PROTECTED]> wrote: > > On Sunday 29 June 2008 14:37, Daniel Cheng wrote: > >> On Sun, Jun 29, 2008 at 5:33 AM, <[EMAIL PROTECTED]> wrote: > >> > Author: toad > >> > Date: 2008-06-28 21:33:39 +0000 (Sat, 28 Jun 2008) > >> > New Revision: 20865 > >> > > >> > Modified: > >> > branches/db4o/freenet/src/freenet/node/fcp/FCPServer.java > >> > Log: > >> > Fix renaming > >> > > >> > >> Should we use FileUtil#renameTo() ? > > > > No, that's mostly useful for renaming-over-a-file or renaming between > > directories. > > > > May you elaborate a bit (and fix the javadoc for FileUtil)? > > FileUtil#renameTo() does _NOT_ work for moving file across mount point for me.
Yeah you need copyTo for that. :|
pgpQfui9KpE3S.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
