Hi all,
I have an external application that calls WebClient to download a file from our server. It runs fine without any proxy server involved. However, once there is a proxy server layer, it throws a 407 proxy authentication required error.
My question is that since I do not know whether the users are going to download a file thru a proxy, is there a way in C# to specify a general way of coding to handle proxy and...
User Profile
Collapse
-
WebClient throws 407 Proxy Authentication Required error
-
In fact, the console application process is triggered in an ActiveX control which means the console application is already pre-installed in client's PC.
It seems that the options (CreateNoWindow or WindowStyle) doesn't affect the ActiveX control when triggering a process. -
How do I call a hidden process from a web app ?
Hello all,
I have a web application which needs to call a console application and capture the output of that execution process.
What I have is the following:
...Code:ProcessStartInfo psi = new ProcessStartInfo(); psi.WindowStyle = ProcessWindowStyle.Hidden; psi.FileName = "doTask.exe"; psi.Arguments = "abc"; psi.UseShellExecute = false; psi.CreateNoWindow = true;
Last edited by Frinavale; Jun 1 '09, 03:02 PM. Reason: Added code tags. Please post code within [code] [/code] tags. -
Download file from web server to client's computer
Hi there,
I am developing a web application which requires a download function to download files selected on the web page into client's computer. I have tried to build a C# DLL, load to client's machine and retrieve the file (data) from server and save it in client's PC. That's doesn't work. During this test, I got a Unauthorized Access Exception when I tried to use the StreamWriter to write the data to "d:\tmp\" (for...
No activity results to display
Show More
Leave a comment: