check for download attribute support

check for download attribute support
 use server side extraction if not supported
 use client side extraction if supported