VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.AspNetCore.ApiControllers Namespace / VintasoftFileApiController Class / CopyFile(WebImageFileRequestParams) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
CopyFile(WebImageFileRequestParams) Method (VintasoftFileApiController)
In This Topic
Copyies the specified file from application directory to the data storage.
Syntax
'Declaration

<HttpPostAttribute("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")>
Public Overridable Function CopyFile( _
ByVal requestParams
Information about file that must be copied.
As Vintasoft.Shared.Web.WebImageFileRequestParams _
) As Vintasoft.Shared.Web.WebImageFileResponseParams
[HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
public virtual Vintasoft.Shared.Web.WebImageFileResponseParams CopyFile(
Vintasoft.Shared.Web.WebImageFileRequestParams requestParams
)

Parameters

requestParams
Information about file that must be copied.

Return Value

Response from the server.
Exceptions
ExceptionDescription
Thrown if the physical path to the root of the application is not defined, i.e. service is used in not ASP.NET application.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6

See Also