How to convert this curl command in c#?

How can I use curl to batch-download files separated by 10 digits each?

  • http://b2ctran.wordpress.com/2011/10/14/use-curl-to-batch-download-files-from-a-website/ Has this command $ curl -L -O http://www.example site.com/color/pic/fire[1-5].gif But what if I want the command to be fire[0:10:100].gif? I'm used to DownThemAll notation.

  • Answer:

    You can do it simply by using a shell script: for i in seq 0 10 100seq010100seq 0 10 100; do curl -L -O http://www.examplesite.com/color/pic/fire[$i-$(($i+9))].gif; done

Ashish Srivastava at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.