Well, the problem i had was when resolving the root dir, i could end with an
empty file name, which would cause parsing errors in filezilla when sending
the getLongFileName().
We need to always return a name, but maybe there's a better way.

On Thu, May 6, 2010 at 13:58, Frank van der Kleij <[email protected]> wrote:

>
>
> I'm testing on Windows in a non-root directory and the folder navigation
> works but I have errors in the log because of this:
>
> line 790:
>
>  f = new File(normalizedPath);
>        if (f.getName().length() == 0) {
>            f = new File(f, ".");
>        }
>
> It causes errors in writeAttrs because the file doesn't really exist in the
> normalized path (it is relative to the root).
>
> I am not sure if it is necessary to reassign f, but if you need it you
> should do resolveFile(f) to resolve it relative to the root.
> Probably even "." should be resolved relative to the root.
>
> Frank
>
> _________________________________________________________________
> New Windows 7: Find the right PC for you. Learn more.
> http://windows.microsoft.com/shop




-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to