Upload/download files securly, winforms c# and asp.net

From a winforms application, I need to upload & download files to an asp.net web server using http/https.

  • only need to send/receive one file at a time
  • cannot use ftp, must use http/https
  • need progress bar
  • upload & download must be username/password authenticated

Is there an easy way to do this?

Answers


The WebClient class should be able to do everything you need to do. Use either UploadFileAsync Or UploadDataAsync for the upload (and their counterparts for the download), normal HTTP authentication for the username and password (see the Credentials property) and the UploadProgressChanged event for tracking progress for your progress bar.


Need Your Help

Data storage for financial analysis

database data-warehouse greenplum infobright monetdb

I am building system to analyze large quantities of financial data regarding securities trading prices. A large challenge in this is determining what storage method to use for the data given that the

HTML progress bar click and update

javascript jquery html

I've added a progress bar in my javascript code, to show the progress of a music track.