added the ability to upload an object to a specific sudo directory