Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi,
We have developing download manager.So we have download some videos in the web. so we had reading videos.during that time net disconnected.so
reading like this webResp.GetResponseStream().Read(arguments)

1.Can i able to merge already existing Video File?
2.how can i read write ?


thx and regards,
Prabu T
Posted

1 solution

You don't need to "merge". If you download by HTTP, you can just append new bytes to the result of the interrupted download.

You will find a complete solution in my application HttpDownloaded which I shared on CodeProject: how to download a file from internet[^].

—SA
 
Share this answer
 
Comments
prabut 15-Nov-11 5:41am    
Thanks Its working.But It Append New File.Any way thanx
prabut 15-Nov-11 6:34am    
Is it Possible append with same File name?
Because it cause Following Error:
The process cannot access the file 'C:\Users\Blisslogix01\Desktop\smartgwt-1.0b1.zip' because it is being used by another process.

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