put_object function

Upload an object to a datasource