点击或拖拽改变大小

IntegrationFileClient.UploadFile 方法 (String, Action<Int64, Int64>)

上传本地的文件到服务器操作,服务器存储的文件名就是当前文件默认的名称,其余参数默认为空

命名空间:  HslCommunication.Enthernet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.3.0.0 (12.3.0.0)
语法
public OperateResult UploadFile(
	string fileName,
	Action<long, long> processReport
)

参数

fileName
类型:System.String
本地的完整路径的文件名称
processReport
类型:System.Action<Int64, Int64>
上传的进度报告

返回值

类型:OperateResult
是否成功的结果对象
参见