Added generic upload functions that can be used for any ArcGIS Server service with uploads enabled.