file download and upload

finished upload and download with ajax, want to try by one action.