Click or drag to resize

IUploadcareSaveFileToDocStorage Method

Saves a single file from an Uploadcare URL to document storage.

Namespace:  NetQuarry.Services.Uploadcare
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
File SaveFileToDocStorage(
	string uploadedFileUrl,
	string documentID,
	string relatedID,
	string description = null,
	IDocStorageService docstorage = null
)

Parameters

uploadedFileUrl
Type: SystemString
The Uploadcare URL to the file.
documentID
Type: SystemString
The document_id (pk) to use to store the document. If null, a new GUID is created.
relatedID
Type: SystemString
The related_id to store with the file.
description (Optional)
Type: SystemString
A description of the file.
docstorage (Optional)
Type: NetQuarry.ServicesIDocStorageService
The document storage service. If null, the default service is used.

Return Value

Type: File
The File object containing the file's information.
See Also