added api command to download blocks in a range