On Tuesday 01 July 2008 14:26, Daniel Cheng wrote: > On Tue, Jul 1, 2008 at 8:34 PM, Matthew Toseland > <toad at amphibian.dyndns.org> wrote: > > On Sunday 29 June 2008 14:37, Daniel Cheng wrote: > >> On Sun, Jun 29, 2008 at 5:33 AM, <toad at freenetproject.org> 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. :| -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080701/d958da44/attachment.pgp>
