ComponentOne Studio Web API Edition
UploadFile Method

The path which the uploaded file is put.
The upload request.
Uploads file with the specified path.
Syntax
'Declaration
 
<HttpPutAttribute()>
<HttpPostAttribute()>
<RouteAttribute("api/storage/{*path}")>
Public Function UploadFile( _
   ByVal path As String, _
   ByVal re As UploadRequest _
) As IHttpActionResult
[HttpPut()]
[HttpPost()]
[Route("api/storage/{*path}")]
public IHttpActionResult UploadFile( 
   string path,
   UploadRequest re
)

Parameters

path
The path which the uploaded file is put.
re
The upload request.

Return Value

The result.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StorageController Class
StorageController Members

 

 


Copyright © GrapeCity, inc. All rights reserved.