This method allows users to upload a set of files. The files will be stored in WebDAV repository and will be accessible via HTTP.
This method returns a structure as follows:
'flError' boolean 0 success, 1 fault 'message' string fault message (can be used to handle error cases) 'urllist' array of string contains list of URLs corresponding to uploaded files 'yourUpstreamFolderUrl' string base URL for upload
Simple example of saving a file.
- Invocation: SQL> SOAP_CLIENT (url=>'http://localhost:6666/xmlStorageSystem', operation=>'saveMultipleFiles', parameters=>vector ('email','user@example.domain', 'password', md5('xxx'), 'relativepathList', vector ('test.txt'), 'fileTextList', vector ('this is a test')); - SOAP Response <saveMultipleFilesResponse> <Result> <flError>0</flError> <message /> <urllist> <item>http://localhost:6666/DAV/user@example.domain/blog/test.txt</item> </urllist> <yourUpstreamFolderUrl>http://localhost:6666/DAV/user@example.domain/blog/</yourUpstreamFolderUrl> </Result> </saveMultipleFilesResponse>