I would love to see a !vfs:flush to free a symlink the easy way.
Say I do a !vfs:chattr 1 "d:\test\a" "/test/s/" then my symlink appears.
But if I want to remove it i either need to edit the .ioFTPD file using the io code, or I need to change the .ioFTPD myself and force io to update it's vfs cache.
Pretty unhandy if you ask me. The easiest way to do this would be:
a dos console reply of !vfs:flush "d:\test\a"
this could easily auto remove/change the .ioFTPD file and remove the link. As it is now a lot of code needs to be made for such a simple thing.
indeed, removing a symlink is just deleting the folder (2-3 lines of C i'd guess). io catch deletions and will re-built it's dircache next time the parent dir is listed. Or u can force it manually by sending a flush message to io message window (which is always a good idea).
Well I guess I need to use an alternative way since I know exactly where I put my symlinks I should be able to resolve it. Thanks.
But the store of deleting the folder that will remove the link only works if I remove the dir that holds the .ioFTPD file of course. Too bad d1 didnt implement it as with servu using .lnk files. Of couse it makes sense he would have no place to implement the attribs like 777 and so.