Login to follow
Upload Core

Upload Core (ODC)

Stable version 1.0.0 (Compatible with ODC)
Uploaded on 15 May 2024 by Kiandra IT
Upload Core

Upload Core (ODC)

Details
Detailed Description

Upload Core is an application with Service Actions and a REST API for uploading files in chunks, optionally asynchronously.

It is currently used by the FilePondUpload library.

In order to upload a file, call

  1. SendFileChunksStart, which will return a Token for identifying the file.
  2. SendFileChunk for each chunk of the file. Throws an exception if the chunk has already been uploaded.
  3. SendFileChunksVerify to verify the file was uploaded correctly. Throws an exception if not valid.
  4. Then call Upload_GetUploadedFile passing the Token to retrieve the uploaded file. The file will be deleted from temporary storage unless Remove is specifically set to False. If the file is not found Exists will be returned as False.

File chunks are stored in the database in a temporary table while the file is being uploaded.

The upload will handle file chunks delivered in any order, and store them in the correct order. This relies on the ChunkNumber being correct for the part of the file being uploaded.

Limitations

The system will handle files up to 2 - 3 GB, maybe more.