Two more issues with macros. Firstly here
http://www.rejetto.com/forum/index.php?topic=7437.0 you said that copy and move macros return space if the operation failed and could therefore be tested with a length macro in an if statement. I have a folder containing another folder called 'Folder B' and a file called 'File B'. If i perform this macro call:
{.if|{.length|{.move|{.postvar|src.}|{.postvar|destination.}.}.}|Operation failed|.}
where 'src' and 'destination' are correct, nothing is returned even if 'src' doesn't exist. In other words the 'Move'
macro isn't checking that the file exists before trying to move it and is therefore returning no space.
Second problem: Anonymous file deletion. I've added a delete macro like so:
[delete]
{.if|{.length|{.delete|{.postvar|src.}.}|Operatoin failed.|.}
however anonymous users are then able to go to domain.com/~delete just like logged in users and delete files. I see no way in HFS to set delete/copy/move permissions for anonymous users... Sure I could do a logged in check on that macro but that would refuse anonymous users from being able to do these things if i DID want them to be able to...
Am i missing something?