Ok, maybe the image is a little bit misleading, I haven’t made an iPhone app for Desktop Media Uploader just yet, but I have found a way to hook up the uploading functionality of Desktop Media Uploader with an existing iPhone app, DoubleInt’s Uploader.

Uploader basically allows you to post a file from your iPhone via HTTP to any URL you define. It also allows you to define a number of parameters to pass through with the request. As Desktop Media Uploader uses a custom HTTP handler, all we need to do then is point Uploader to the Handler and pass in all the required parameters. Sweet!

First things first, make sure you have Desktop Media Uploader installed on your site, and DoubleInt’s Uploader on your iPhone (it currently costs 59p, but that’s a small price to pay for awesomeness).

Once the app is installed, setup a new destination with the following details:

  • Name: A friendly name for the destination
  • URL: The URL to the Desktop Media Uploader handler (http://www.yourdomain.com/usercontrols/desktopmediauploader/dmu.ashx)
  • Image Parameter: Set this to anything you like
  • Regex: You can set this to whatever you like to restrict file types (I just left this as the default value)

You’ll then want to add the following parameters:

  • action: The fixed string “upload”
  • username: Your Umbraco username
  • password: Your Umbraco password (Se this to Hide Value)
  • parentNodeId: The id of the folder to upload items to

Once you’ve entered the details above, click Done, and you should now be able to select files, give them a name and click Upload to upload them straight to Umbraco.

I’m certainly toying with the idea of an iPhone version of Desktop Media Uploader, but this is an awesome interim solution.

Happy uploading.

Advertisement