www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY

Functions Index

xmlStorageSystem.deleteMultipleFiles

Remove files from XML Storage System Directory
structure xmlStorageSystem.deleteMultipleFiles (in email string, in password string, in relativepathList array);
Description

This method is used for removing files from the repository.

Parameters
email – For user identification, this should be a valid email account.
password – The MD5 hash of the password.
relativepathList – Array of strings of paths relative to the <user home>/blog folder in WebDAV to be deleted.
Return Types

This method returns a structure as follows:

    'flError' boolean   		0 success, 1 fault
    'message' string    		fault message (can be used to handle error cases)
    'errorList' array of string 	contains a list of errors corresponding to files
                      which cannot be removed.  Successfully deleted files have an empty string.
Examples
Using the XML Storage System to Delete Multiple Files

Simple example of removing a file.

    SQL> SOAP_CLIENT (url=>'http://localhost:6666/xmlStorageSystem', operation=>'deleteMultipleFiles', 
	 parameters=>vector ('email','user@example.domain', 'password', md5('xxx'),
	   'relativepathList', vector ('test.txt'));

    - SOAP Response
     
    <deleteMultipleFilesResponse>
      <Result>
       <flError>0</flError>
       <message />
       <errorList>
	 <item />
       </errorList>
      </Result>
    </deleteMultipleFilesResponse>
See Also

xmlStorageSystem.registerUser()

xmlStorageSystem.mailPasswordToUser()

xmlStorageSystem.getServerCapabilities()

xmlStorageSystem.saveMultipleFiles()