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!!

Parents Reply
  • The download multiple files project mentioned by Meupe ARAS is the perfect start for downloading the files to the server. Proven concept.

    For PDF conversion get yourself a library that can do the conversion.
    For uploading the files you can use attachPhysicalFile function, e.g. look for something like this Uploading Files or  https://github.com/AngelaIp/add-ssrs-reports-to-vault/blob/master/AIP_get_SSRS_Report.cs


    You first have to upload the file to the vault and then link it to your item. And then you clean up everything. 

    If you want to do something more fancy: Use the Aras Conversion Server do the file operation and conversion as background task. You can even use the inbuilt Aras PDF converter if you have a subscription. This is a preferred option for long running tasks were you don´t want users to "wait" for something to be finished. But it´s of course much more work :).

     

Children
No Data