MX_Master Posted April 8, 2011 Share Posted April 8, 2011 My script, which works with files, uses backup system to prevent full data loss if some errors were occurred while writing data. And I always must to create new file with new backup name and write into it content of original file. So I must delete original file and create new one with new data. There's no fileRename or fileCopy functions and this process can take more processor's and hdd's time then just renaming if server contains more players. There's a source patch (0006030, request:0006027) witch adds fileRename function, but no actions and comments about it. And i want to ask: is anything wrong with this code or this feature breaks some other systems? Link to comment
Arran Posted April 8, 2011 Share Posted April 8, 2011 The only thing I can think of that it lacks would be adding fileRename to ACL defaults. Link to comment
MX_Master Posted April 8, 2011 Author Share Posted April 8, 2011 Function already checks all ACL rights for both files and their resources before any actions. And for client these checks is not needed. I think there's no ACL issues for this function. And i can add wiki changes for this function, if it will be added. Link to comment
Recommended Posts