Function to download your smartphone photo files uploaded from $NUMDEBUT to $NUMFIN

I write a very simply script (in bash) to generate the good URL to download files DSC*$i*.JPG with $i from $NUMDEBUT to $NUMFIN. I think such a function could be useful, when you know you have the function in the owncloud android app to auto-upload the camera picture tooked with your smartphone.
The script is here if it can helps (in french but the script is clear) :