upload for pdf view