Previous Topic

Next Topic

Book Contents

Book Index

HTTP Put

"HTTP Put" uploads a file to a website, using HTTP[S] with the PUT verb. Note that PUT is not the usual way to upload files, and is not accepted by many websites. The HTTP Post script may work as an alternative for these sites. However, when available, the HTTP PUT technique is preferable because it is simpler.

Use this script like a destination, as a per-file process. Typically you would use this in a task with one or more sources.

Input Parameters

Notes

This script will work only when the website requires either no authentication, or HTTP authentication. Unfortunately, many websites require the user to signon via a web form to authenticate. This script will not support websites like that.

To enable PUT on a remote webserver running Microsoft IIS 6.0, use IIS Manager on that webserver to enable the WebDAV Web Service Extension, and turn on Write access to the virtual directory.

This script is not suitable for files larger than a few dozen megabytes, because it loads the entire file into memory before saving it.