How to batch download and upload files?

Under Documents, Type= Setup Sheet, State = Released, are documents that are in excel and they have to be converted to pdf

I guess the first the step woudl be to get the meta data, Document name, ID, Related Files, and File ID. Then loop through this file to download them. But then what would the path be to download this.

How do I go about this? 

Thanks!!