Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

This small Java program allows you to easily upload many files to a confluence page. Download this jar file. On most operating systems you can execute it simply by double-clicking on the downloaded file. You can also run it from the command line using:

...

Once you run this file a dialog like this should appear:

Wiki Markup
!CropperCapture\[1\].Png!

Image Added

Click "Add files" and select the files you want to attach. Then click next and the following dialog should appear:

Wiki Markup!CropperCapture\[3\].Png!Image Added

Click "Add Server" and fill in the dialog with the confluence URL (httphttps://confluence.slac.stanford.eduImage Removed) and your confluence username and password.

Wiki Markup!CropperCapture\[2\].Png!Image Added

(On future invocations this information will be remembered and will not have to be reentered).

Warning
titleSecurity Alert

Make sure you include the 's' in https://, otherwise your username/password will be sent across the network in plain text. This tool creates a file in your home directory called confluence-fileupload.preferences which contains your username/password in plain text, you must delete this file after use.

Now click next:

Wiki Markup
!CropperCapture\[4\].Png!

Image Added

Select the confluence space and page that you want to add the attachments to (it must already exist). Click next once more and it should upload and attach all your files.

Wiki Markup
!CropperCapture\[5\].Png!

To Do

  • Check if this works using https (I imagine it will require the unlimited strength cryptography extension)
  • Find out where it stores the confluence URL (in particular the password)

Image Added

For more information see:

http://confluence.atlassian.com/display/CONFEXT/Confluence+File+UploaderImage Removed

Another potentially interesting tool:

http://confluence.atlassian.com/display/CONFEXT/Confluence+Command+Line+Interface