Documentation for Confluence 2.5.4 - 2.5.8.
Documentation for [Confluence Cloud] and the latest Confluence Server is available too.

Confluence pages and attachments can be mounted as a network drive, and files can be dragged and dropped into Confluence using the WebDav plugin. Alternatively, users who do not wish to use WebDav can write a custom script to attach all PDF files in a directory to a Confluence page using the addAttachment function in the Remote API. This script can be adapted from one of the Remote API script examples.