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

下载存储文件

将 Orchestrator 存储桶中的文件副本下载到本地。

定义

命名空间: UiPath Activities.System.API

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

重载

  
DownloadStorageFile(String, String)将 Orchestrator 存储桶中的文件副本下载到本地。
DownloadStorageFile(String, String, String)在本地指定文件夹路径下载 Orchestrator 存储桶中的文件副本。
DownloadStorageFile(String, String, String, String, Int32)在本地下载 Orchestrator 存储桶中的文件副本,并指定目标以及其他配置。

DownloadStorageFile(String, String)

将 Orchestrator 存储桶中的文件副本下载到本地。

ILocalResource DownloadStorageFile(
	string path,
	string storageBucketName
)ILocalResource DownloadStorageFile(
	string path,
	string storageBucketName
)
path 字符串
要下载的存储桶内文件的完整路径。 该文件必须存在于源 Orchestrator 存储容器中。
storageBucketName 字符串
文件所在存储桶的名称。

DownloadStorageFile(String, String, String)

在本地指定文件夹路径下载 Orchestrator 存储桶中的文件副本。

ILocalResource DownloadStorageFile(
	string path,
	string storageBucketName,
	string folderPath
)ILocalResource DownloadStorageFile(
	string path,
	string storageBucketName,
	string folderPath
)
path 字符串
要下载的存储桶内文件的完整路径。 该文件必须存在于源 Orchestrator 存储容器中。
storageBucketName 字符串
文件所在存储桶的名称。
folderPath 字符串
要用于此活动的 Orchestrator 文件夹的路径。 如果留空,则使用当前的 Orchestrator 文件夹。

DownloadStorageFile(String, String, String, Int32)

在指定的文件夹路径中,本地下载 Orchestrator 存储桶中的文件副本,并配置“超时 (毫秒)”。

ILocalResource DownloadStorageFile(
	string path,
	string storageBucketName,
	string folderPath,
	string destination,
	int timeoutMS
)ILocalResource DownloadStorageFile(
	string path,
	string storageBucketName,
	string folderPath,
	string destination,
	int timeoutMS
)
path 字符串
要下载的存储桶内文件的完整路径。 该文件必须存在于源 Orchestrator 存储容器中。
storageBucketName 字符串
文件所在存储桶的名称。
folderPath 字符串
要用于此活动的 Orchestrator 文件夹的路径。 如果留空,则使用当前的 Orchestrator 文件夹。
destination 字符串
要从中下载文件的且包含文件名的完整本地路径。 根据运行时间执行目录解析相对路径。此路径必须包含文件名,以便活动正常工作。
timeoutMS Int32
指定等待时间 (以毫秒为单位)。如果超出该时间活动未运行,就会引发错误。默认值为 30000 毫秒 (30 秒)。

返回值

ILocalResource

对已下载文件的引用。

此页面是否有帮助?

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