continuous upload/download of file on web server, using httpclient