Implemented Application.upload()