活动
最新
False
横幅背景图像
工作流活动
上次更新日期 2024年4月22日

上传存储文件

将文件上传到 Orchestrator 中的指定存储桶。

定义

命名空间: UiPath Activities.System.API

程序集: UiPath.System.Activities.Api(在 UiPath.System.Activities.Api.dll 中)

重载

  
UploadStorageFile(String, IResource, String)将本地文件上传到特定存储桶中的 Orchestrator 存储。
UploadStorageFile(String, IResource, String, String)将本地文件上传到 Orchestrator 存储中特定存储桶的特定路径。
UploadStorageFile(String, IResource, String, String, Int32)将本地文件上传到 Orchestrator 存储中特定存储桶的特定路径。

UploadStorageFile(String, IResource, String)

将本地文件上传到特定存储桶中的 Orchestrator 存储。

void UploadStorageFile(
	string destination,
	IResource fileResource,
	string storageBucketName
)void UploadStorageFile(
	string destination,
	IResource fileResource,
	string storageBucketName
)
destination 字符串
要在存储桶中上传文件的路径。
fileResource IResource
要上传的文件。
storageBucketName 字符串
要上传文件的存储桶的名称。

UploadStorageFile(String, IResource, String, String)

将本地文件上传到 Orchestrator 存储中特定存储桶的特定路径。

void UploadStorageFile(
	string destination,
	IResource fileResource,
	string storageBucketName,
	string folderPath
)void UploadStorageFile(
	string destination,
	IResource fileResource,
	string storageBucketName,
	string folderPath
)
destination 字符串
要在存储桶中上传文件的路径。
fileResource IResource
要上传的文件。
storageBucketName 字符串
要上传文件的存储桶的名称。
folderPath 字符串
要用于此活动的 Orchestrator 文件夹的路径。 如果留空,则使用当前的 Orchestrator 文件夹。 此字段仅支持字符串和 String 变量。 使用 / 作为子文件夹分隔符以指定所需的文件夹。

UploadStorageFile(String, IResource, String, String, Int32)

将本地文件上传到 Orchestrator 存储中特定存储桶的特定路径。

void UploadStorageFile(
	string destination,
	IResource fileResource,
	string storageBucketName,
	string folderPath,
	int timeoutMS
)void UploadStorageFile(
	string destination,
	IResource fileResource,
	string storageBucketName,
	string folderPath,
	int timeoutMS
)
destination 字符串
要在存储桶中上传文件的路径。
fileResource IResource
要上传的文件。
storageBucketName 字符串
要上传文件的存储桶的名称。
folderPath 字符串
要用于此活动的 Orchestrator 文件夹的路径。 如果留空,则使用当前的 Orchestrator 文件夹。 此字段仅支持字符串和 String 变量。 使用 / 作为子文件夹分隔符以指定所需的文件夹。
timeoutMS Int32
引发错误之前的等待时间。

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.