I would like to know if there is a way to know if a server supports resume download functionallity and if supported, how do I send a request to resume?
I was looking for a solution where my ASP.NET page can do a download from a server to mine, something like "rapidleech" does today, but I would like to check if the server where i'm requ...
A client has given me a spreadsheet of hundreds of domain names.
My task is to determine the following about each:
Which domains are connected to a web server / website.
Of those that are, which redirect to another site.
What is the server software running (ASP, ASP.NET, Apache, etc)
...and output the results in an organized fashion...
Hello,
I am using WebRequest to retreive a html page from the web and then displaying it using Response.Write.
The resulting page looks different from the original mostly in font and layout.
What could be the possible reasons and how to fix it?
With thanks,
Wineshtain.
...
First of all, I am a WEB NOOB. Which probably explains this question. Anyway, when I use the web page test app to post xml to a url, everything works fine. Here is the pertinant code from the web page (i think):
<form action="/gateway/xml" method="post" id="xml-test-form">
<textarea name="data">
{some xml is in here}
</textar...
Hello,
I'm trying to implement a SoapExtension for log purposes (print the xml soap request) on an .NET 2.0 client application (not ASP.NET).
I first tried a simple console application just to check and I'm not able to see that the extension is called.
The simple code is just two lines:
System.Net.WebRequest request = System.Net.WebRequ...
I first posted this: HttpWebRequest: How to find a postal code at Canada Post through a WebRequest with x-www-form-enclosed?.
Following AnthonyWJones suggestions, I changed my code following his suggestions.
On a continuation of my inquiry, I have noticed with time that the content-type of Canada Post is more likely to be "application/...
I have a program that checks if a file is present every 3 seconds, using webrequest and webresponse. If that file is present it does something if not, ect, that part works fine. I have a web page that controls the program by creating the file with a message and other variables as entered into the page, and then creates it and shoots it o...
I'm writing an ASP.NET web application which will run on Windows Server 2008 (IIS7).
Each page's codebehind will need to make at least one synchronous web service call to an external server using HttpWebRequest and GET.
My question - is there any limit to the number of outbound HttpWebRequest calls I can make? (assume that the server I...
Hi all,
Sorry if this question is duplicated but I couldn't solve my problem from other solutions.
I've got this code in a sepate file included in my main index:
var getSuggestedData = {
serviceURL: $("input[name=suggestedServices]").val(),
dataR:"",
doRequest:function(){
//request data to controller
$.ajax({
url:this.serv...
Is it possible to pull information from a website and display it in an iphone application?
I am looking to pull the current temperature and barometric pressure for an airport from the http://adds.aviationweather.noaa.gov website and display those two pieces of information in an app.
This sounds like a common task that programs do all ...
Here is my code. It iterates all files from database and try to get the length of the web file. It works only 2 times. After that it gives timeout. If i restart the application it process again 2 files and then fail. I have no idea what might be the problem. I appreciate any help.
public void GetFilesSize()
{
List<int> f...
I'm having some problem's grabbing a response stream from a request that returning status code 422.
HttpWebResponse objResponse = (HttpWebResponse)wr.GetResponse();
The wr.GetResponse throws an webexception because the status code isnt 201.
So i can never get the response stream from the remote server. But it does return important inf...
how to Consume java(apache axis) written webservices without adding web reference(in visual studio) in c#
...
Hey,
I am making restful requests in my silverlight app, I want to get information that might be pushed to the page so i continously make the request to get the updated data, doing something like
....
Uri url = new Uri(theUrl);WebClient wc = new WebClient();
wc.DownloadStringCompleted += RetreiveUserMessagesResponse;
wc.DownloadStr...
So i'm trying to POST something to a webserver.
System.Net.HttpWebRequest EventReq = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create("url");
System.String Content = "id=" + Id;
EventReq.ContentLength = System.Text.Encoding.UTF8.GetByteCount(Content);
EventReq.Method = "POST";
EventReq.ContentType = "application/x-www-form-ur...
How do I use the App Pools Crendentials to authenticate a WebRequest?
I have a web site that call a page from itself, but I keep getting 401....
...
I need to login to a website and perform an action. The website is REST based so I can easily login by doing this (the login info is included as a querystring on the URL, so I dont't need to set the credentials):
CookieContainer cookieJar = new CookieContainer();
HttpWebRequest firstRequest = (HttpWebRequest) WebRequest.Create(loginUrl...
I'm writing an application in C#, and I am creating multiple BackgroundWorker threads to grab information from webpages. Despite them being BackgroundWorkers, my GUI Form is becoming unresponsive.
When I am debugging, I pause when the program goes unresponsive, and I can see that I am in the Main Thread, and I am paused on the webpage ...
We're developing an application that is sensitive to the domain name of the request. The problem we're running into is that we have to use IIS in order to test the application because Cassini will only send "localhost" as the requested domain despite using a different domain in the address bar. While IIS does give us better performance t...
Hello,
I am using ASP .Net 3.5 and trying to invoke a WebService using javascript and Sys.Net.WebRequest.
The service gets invoked for the first time and everything is fine until I try to refresh.
on a refresh th WebRequest object invoke method is called but instead of invoking the service is jumps right to the callback function, as i...