Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am developing an automation application in C# which downloaded images from web server according to the image Id.
I am getting the Id from csv file. now my question is if in between the internet or the server get down, so if I restart application the application should download start from the last Id of the Image downloaded.


Thank to All

What I have tried:

developing an automation application in C# which downloaded images
Posted
Updated 22-Aug-16 0:05am

1 solution

Just keep track of where you were and save that to disk, and on restart read the value and start from there.
 
Share this answer
 
v2
Comments
CPallini 22-Aug-16 6:10am    
Of course.
5.
Mehdi Gholam 22-Aug-16 6:13am    
:) thanks

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