download resource in examples