Click here to Skip to main content
15,908,661 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to check if a webrequest accepts range? I have a problem because of this when try to downloading a file with byte[] parts.Thanks in advance.
Posted

1 solution

Your Web method should return some relevant information on the acceptability of the request send in the call to the method. For example, it could be a Boolean value (true returned to indicate success), a string describing a problem (null or empty returned in the case of success), some structure describing the problem (could null in case of success, or success status could be returned in some property of this structure).

—SA
 
Share this answer
 
Comments
Ali Tor 7-Apr-14 16:25pm    
I check my problem's reason with Internet Download Manager.I tried several links that is "Resume Support = False " is written on the label of IDM panel when IDM running with and my code gave an error when the progress is at %90-100 with same download links.So the solve is to know how IDM takes information about resume support. And do you have a sample for your solution?I need it.
Sergey Alexandrovich Kryukov 7-Apr-14 16:27pm    
What "sample"? I don't understand. Isn't that your service? If it's not yours, ask the author of the service you are trying to use.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900