473,378 Members | 1,330 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

webclient object and downloading output file from an intranet site

Dear ASP.NET Programmers,

I have an intranet site (web applicaton) with the login page
http://burak/database/login.aspx. The site implements cookieless forms
authentication and validating user credentials stored in a SQL Server
database. I would like to download a document created by users to the local
disk of the server (burak) using webclient object and its download method,
but I don't know to how to authenticate when requesting the desired page
(for instance http://burak/database/medicalDocs/1.aspx).

dim wClient as new WebClient()

wClient.DownloadFile("http://burak/database/medicalDocs/1.aspx",
"d:\Docs\1.html")
Thanks in advance for your help
Nov 17 '05 #1
0 1289

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: CHIN | last post by:
Hey all... i have to login a page and upload a file to that page ( cant access to the code ) , Patrice and Kevin told me i could do it with System.Net.WebClient, i could, but with a test site here...
4
by: Phil Crosland | last post by:
I want to access online graphics for a networked application I am writing & am having trouble using the WebClient for this. Basically I want the users to be able to enter an URI to a file either on...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
2
by: Jeff Baker | last post by:
How does one post to an ASPX page using the WebClient when the form name is required?
4
by: gianniab | last post by:
In an ASP.NET application I have to perform a file downloading task from a web server not exposed to internet, ie Internet Client-->MyServer-->SecureServer-->MyServer--> Internet Client All...
4
by: gavkel | last post by:
Can anyone get this to work? All Im getting is the login html being downloaded. Would appreciate any help - my heads hurts Thanks Gav
4
by: Lehel Kovach | last post by:
I'm having a problem with the WebClient object. When I post data to certain sites, it will receive a command from the webserver (object moved) and continue to the next link by downloading that. ...
1
by: Mike | last post by:
I am using PowerShell to download an XML file into a string using the DownloadString(URI) method of System.Net.WebClient object. Sample commands below: $Result = $Null; $WebClient = new-object...
1
by: deerchao | last post by:
I found a thread (http://groups.google.com/group/ microsoft.public.dotnet.languages.csharp/browse_thread/thread/ b154f44522b5e083/11974fe21507faae?...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.