Thread:Project:Support desk/Importing a pdf file through php

I've noticed the importImages.php enables one to upload images from a local directory. I would like to do this for a pdf instead of an image and importImages.php doesn't seem to work with the .pdf extension.

Thank you