• ShareFile.Api.Models.UploadSpecification
  • ShareFile.Api.Models.UploadSpecification

    Upload Specifications contain the necessary information for uploading new files to a ShareFile provider.

    NameTypeDescription
    MethodUploadMethod The Upload method that must be used for this upload
    PrepareUriUri If provided, clients must issue a request to this Uri before uploading any data.
    ChunkUriUri Specifies the URI the client must send the file data to
    FinishUriUri If provided, specifies the final call the client must perform to finish the upload process
    ProgressDataString Allows the client to check progress of standard uploads
    IsResumeBoolean Specifies a Resumable upload is supproted.
    ResumeIndexInt64 Specifies the initial index for resuming, if IsResume is true.
    ResumeOffsetInt64 Specifies the initial file offset by bytes, if IsResume is true
    ResumeFileHashString Specifies the MD5 hash of the first ResumeOffset bytes of the partial file found at the server
    MaxNumberOfThreadsInt32 Specifies the max number of chunks that can be sent simultaneously for threaded uploads
    CanAcceptParamsInHeadersBoolean Allow clients to send chunk offset and content hash in headers instead of query strings
    IsDuplicateFileNameBoolean Indicates if the file is a potential duplicate as same file name exists in the folder