This service broker allows you to upload directly to a file share or local file folder using a SmartObject. It has a single method to upload the file and it returns the path of the uploaded file. This can then be stored and used as a reference in your application.
Update: My colleague, James, has done a rewrite of this broker to include more functionality.
You can get the new version here.
Note that this newer broker is not backward compatible with this copy.