Implement uploadfile and download functions of aliyunsdk.