Click or drag to resize

ExcelAI UploadFile Method

Uploads a file to the AI service.

Namespace: Spire.Xls.AI
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public string UploadFile(
	string fileName,
	Stream stream
)

Parameters

fileName
Type: System String
The name of the file to be uploaded.
stream
Type: System.IO Stream
The stream containing the file data.

Return Value

Type: String
result contains the file path on ai server as a string.
See Also