Added progress reporting to upload of PDFs