hexparrot/mineos — pull request #40 by bryanchriswhite (2014-02-10 06:56:50+00:00)
Title: example WIP for #39 Jar File Upload

### RE: #39 Jar File Upload

@chibill
Assuming I understand the terminology correctly, "unmanaged" is the correct type for uploading your own jar, no?

As I said in issue #39, I'm not familiar with python, cherrypy nor knockout but have a ruby background with a great deal of JS experience, esp. angular so I'm managing. This is an example of how knockout can capture a file upload and send it to cherrypy (independent of the rest of the form _and in a POST like all of this data should be - btw, digressing_).

This commit sets up the `test` action to receive the file, which at present comes in as a cherrypy `Part` instance and needs to be written to the filesystem, I just don't know:
1. How to write this object out to the FS
2. Where to write it to

![screenshot 2014-02-10 01 55 06](https://f.cloud.github.com/assets/600733/2122977/620d9b9e-9220-11e3-94a2-db40384330ce.png)