I simply want to upload an image (JPG) using a form, then send that image to Rackspace \'Cloud Files\' or Amazon \'S3\'.
Sorted out. Found a simpler elegant approach and feel stupid for not getting to it earlier.
file = request.FILES["item_photo"] file_name = "%s/%s" % (id, '600.jpeg') put_file(container, file_name, file.read())