更新时间:2026-04-10 GMT+08:00
分享

发送文件

方法名称

void sendFile(boolean isAsync, String srcLocalFile, String dstRemoteFile, String jobId, String customMsg)

功能描述

发送文件到云机。该方法用于将本地文件发送到云机。

参数说明

字段名

类型

说明

isAsync

boolean

是否异步发送

srcLocalFile

String

本地文件路径

dstRemoteFile

String

远端文件路径

jobId

String

任务ID

customMsg

String

自定义消息

返回值

调用示例

相关文档