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
)
Function SaveFileToDocStorage (
uploadedFileUrl As String,
documentID As String,
relatedID As String,
Optional description As String = Nothing,
Optional docstorage As IDocStorageService = Nothing
) As File
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:
FileThe
File object containing the file's information.
See Also