B
Bill Woodruff
As an exercise I wrote a small C# program to download several hundred text files of guitar tab music by parsing the home page of the
site and retrieving all the links to the music text files and using 'WebRequest and a StreamReader to download them.
I followed up the call to WebRequest.Create with a call to Application.DoEvents, and called Application.DoEvents() again after the
call to ReadToEnd on the StreamReader.
What I was looking for was some kind of delay mechanism to ensure that I was not making requests to the site too frequently. Is
there any way to ask a site something like : "Can I have another helping please, or would you rather I come back later ?."
Appreciate any clues.
thanks, Bill
site and retrieving all the links to the music text files and using 'WebRequest and a StreamReader to download them.
I followed up the call to WebRequest.Create with a call to Application.DoEvents, and called Application.DoEvents() again after the
call to ReadToEnd on the StreamReader.
What I was looking for was some kind of delay mechanism to ensure that I was not making requests to the site too frequently. Is
there any way to ask a site something like : "Can I have another helping please, or would you rather I come back later ?."
Appreciate any clues.
thanks, Bill