C# login into website and Download multiple files

Mark Tweedy 1 Reputation point
2023-05-12T18:58:10.9133333+00:00

I am trying to create a program mainly WF or WPF. So What I am trying to do is create or automate a why from me to login into website and downloads files. Now the trick part is to download files by a certain column values, because status changes are the ones I want to download?

So What I want to is Create C# Program

Login into website

Then have it check for values if those values are true then download file or Files?

When downloads the files I need download types that work with two different software types that I use?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,319 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 57,241 Reputation points
    2023-05-12T21:14:31.62+00:00

    This is standard screen scraping. C# is not the most popular language for this, but you can. You need an html parsing library. You will need to reverse engineer the login using network trace. The browsers tools will work for this. Postman Is also a handy tool. Generally you will need to harvest the cookie from the login. Often the login will use anti forgery software, you you will need to handle this.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more