Monday, November 08, 2010 at 12:02 AM.
system.verbs.apps.xmlStorageSystem.deleteMultipleFiles
on deleteMultipleFiles (email, password, relativepathlist, adrresponse, adrdata = @xmlStorageSystem.data, flShowMessages = true) {
<<Changes
<<12/11/01; 3:25:34 PM by DW
<<Created.
local (params = {"email":email, "password":string.hashmd5 (password), "relativePathList":relativepathlist});
local (rpcPath);
if defined (adrdata^.xmlRpcPath) {
rpcPath = adrdata^.xmlRpcPath};
if defined (adrdata^.rpcPath) {
rpcPath = adrdata^.rpcPath};
with adrdata^ {
adrresponse^ = xml.rpc (server, port, "xmlStorageSystem.deleteMultipleFiles", @params, rpcPath:rpcPath, fldebug:fldebug, flShowMessages:flShowMessages, protocol:protocol, soapAction:soapAction);
return (not adrresponse^.flerror)}}
<<bundle //test code
<<local (relativepathlist = {"/userland/testRadio71/New Mexico/03.txt", "/userland/testRadio71/New Hampshire/"})
<<with user.xmlStorageSystem
<<deleteMultipleFiles (user.radio.prefs.usernum, user.radio.prefs.passwords.default, relativepathlist, @scratchpad.response)
<<edit (@scratchpad.response)
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.