implement download for itpub