You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Mario Ivankovits <im...@apache.org> on 2004/05/27 22:21:32 UTC

[vfs] ftp and symbolic links

Hello !

I implemented the handlink of symbolic links on an ftp-server.
Those links are now transparently handeled:

Type:
*) content size
*) modification date
*) and children
are automatically fetched from the link destination.


My first try was to introduce a new FileType (FileType.LINK), but this 
might break some existing implementation as. FileType.LINK !=  
FileType.FILE != FileType.FOLDER
I thought this is bad, and maybe the vfs user wont be bothered with 
links too much, other filesystems (http, webdav) handles links 
(redirects) automatically and so i thought doing this in ftp too might 
be a good thing.

However, comments are welcome.

-- Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org