upload and download files from server  java