[UploadService]Base function

UploadService:
    The UploadService responsible is async
upload selected file and folder to server in
background.Now, the base function is ok after
test.

Signed-off-by: Ethan Shan <shan0xiao0xi@gmail.com>