Upload URL

DESCRIPTION:

Upload local file to a WebDAV file.

USAGE:

spserver.upload(url, file)

REQUIRED ARGUMENTS:

url
a WebDAV URL.
file
Local file name.

SIDE EFFECTS:

Writes the contents of the local file to the specified WebDAV URL.

EXAMPLES:


# spserver.upload(spserver.url("output.jpg"), spserver.results.file("out.jpg"))