commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <j...@apache.org>
Subject [jira] Closed: (VFS-19) [vfs] Cannot used base root with FTP
Date Tue, 03 Oct 2006 19:52:21 GMT
     [ http://issues.apache.org/jira/browse/VFS-19?page=all ]

Mario Ivankovits closed 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message