Download a file from one ASP.NET web application to other (given the credentials)

Posted by Tom S. on Stack Overflow See other posts from Stack Overflow or by Tom S.
Published on 2010-03-31T00:46:02Z Indexed on 2010/03/31 1:03 UTC
Read the original article Hit count: 373

Filed under:
|
|
|
|

Hi everybody!

Im working on a asp.net 3.5 web application (C#), where i have a file with some information that is updated frequently, and only few accounts can access to it (the application is using the asp.net authentication system, stored in a SQL database).

My task is to parse that file, so i made a small parser (another web app) a to show the information in a more friendly way.

However, everytime i want to parse it, i need to enter in the application with one of those accounts, download the file, put in the parser's folder.

Is there any way to, given the username and password, download the file directly from the parser application and use that one?

Thanks in advance

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about download