download file from remote server