Uploading files is also possible through the API. It is done doing a sequence of steps:
- Initiate upload by calling method AddUploadFile with name of the file to upload. This returns uploadid (and itemid in Digizuite 4.8.0+)
- if the is not itemid is already returned in step 1, then get itemid by calling method GetItemIdFromUploadId
- Upload file to server by calling method UploadFileChunks (note we use chunked upload because IIS has a limit of 2GB)
- call method 04 - SetTransferMode to determine how the job system should handle the file (99% of the time this should be 1).
- Lastly, submit the upload by calling SubmitUpload to enable the job system to start processing.