Spotfire Statistics Services WebDAV API

The Java Client API and the C# Client API include support for managing files and directories in a WebDAV repository.

Using these APIs, you can perform the following tasks.

  • Copy, move or delete files.
  • Upload or download files.
  • Create a folder.
  • Retrieve the contents of a folder.
  • Check to see if a file or folder exists.

The C# and Java APIs provide a WebDAV client interface. That is, like the Administration, Function, and Expression clients, the APIs implement a standard Factory design pattern for client instance creation. The ClientFactory class implements a factory and provides a way to obtain a WebDAV client object by calling a relevant method. For example, in C#:

string serviceUrl = "http://localhost:8080/SplusServer"; string username   = "myusername"; string password   = "mypassword"; WebdavApiClient api = ClientFactory.GetWebdavClient(serviceUrl, username, password);

For more information about the WebDAV API, see its help for the appropriate language, available from the server landing page, by default:

http://servername:port/service_name

Related reference