Re: [VFS] Exception while copying FileObject

2005-12-08 Thread Eric Hartmann
Great everything works fine now! Thanks for your help and patience, commons-VFS is really usefull. Bye, -eric Mario Ivankovits wrote: Hi Eric! FileSystemManager fsManager= VFS.getManager(); This code works the first time but not the second times after I have deleted the di

Re: [VFS] Exception while copying FileObject

2005-12-08 Thread Eric Hartmann
Hi, I'm sorry Mario I did not receive "my" post neither your answer (and I needed to switch to another mail accounts). Big thanks for your help, I did not see the close() function. Your suggestion works in the testcase, unfortunattely this does not work for me as I copy from one fileobbject t

[VFS] Exception while copying FileObject

2005-12-08 Thread Eric Hartmann
Hi, With commons-vfs RC6, I experience sometimes the following exception : Could not write to "file:///tmp/test/file3.txt" because it is read-only. I found the cause of this exception, this happens when : 1. a file (file1.txt) is copied to a directory (/tmp/test/) containing the destination fil

[VFS] Exception while copying FileObject

2005-12-07 Thread Eric Hartmann
Hi, With commons-vfs RC6, I experience sometimes the following exception : Could not write to "file:///tmp/test/file3.txt" because it is read-only. I found the cause of this exception, this happens when : 1. a file (file1.txt) is copied to a directory (/tmp/test/) containing the destination fil