[ http://issues.apache.org/jira/browse/VFS-19?page=all ]

Mario Ivankovits reopened VFS-19:
---------------------------------

             

> [vfs] Cannot used base root with FTP
> ------------------------------------
>
>                 Key: VFS-19
>                 URL: http://issues.apache.org/jira/browse/VFS-19
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Stéphane Aubort
>
> Using common-vfs-20051004 built.
> Accessing the base root of the FTP server (ftp:/localost/), it is impossible 
> to create a file or folder. At least a folder must exist 
> (ftp:/localost/toto/), to use FTP. See following code.
> // Root URI ->    
> String rootURI = “ftp://172.168.1.12/”;
> // File URI ->    
> String myFile = “ftp://172.168.1.12/test.txt”;
> // 1 Case
> FileObject rootFile = myFSManager.resolveFile(rootURI); 
> FileObject fsRootFile = rootFile.getFileSystem().getRoot();
> // In this case the rootFile != fsRootFile
> // 2 Case
> FileObject file = FSManager.resolveFile(myFile);
> FileObject fileParent = file.getParent();
> // In this case also, the fileParent != fsRootFile
> Thank you

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to