activities
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

工作流活动

上次更新日期 2025年1月22日

上传存储文件

UiPath.Core.Activities.Storage.UploadStorageFile

描述

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

项目兼容性

Windows - 旧版 | Windows | 跨平台

跨平台配置

  • Orchestrator Folder—The path to the Orchestrator Folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports only strings and String variables. Use / as a subfolder separator to specify the desired folder.
  • Storage Bucket Name—The name of the Storage Bucket where you want to upload the file. This field is mandatory. This field supports only strings and String variables.
  • 文件- 要上传到上述存储桶的文件的完整路径。 您可以在使用本地路径或IResource类型的变量之间切换。 如果您使用的是本地路径,建议您使用相对文件夹路径,以解决执行项目时 Windows 和 Linux 计算机之间不同的文件结构。 示例: newFolder/newFileName.txt
  • Where to upload—The path where you want to upload the file in the Storage Bucket.
高级选项

其他

  • Timeout (milliseconds)—Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
  • Continue On Error—Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
    注意:如果“Try Catch 异常处理”中包含该活动且“出错时继续”属性的值为 True,则系统在执行项目时不会捕获任何错误。

Windows - 旧版 Windows 配置

属性面板
常见
  • Continue On Error—Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
    注意:如果“Try Catch 异常处理”中包含该活动且“出错时继续”属性的值为 True,则系统在执行项目时不会捕获任何错误。
  • DisplayName—The display name of the activity.
  • Timeout (milliseconds)—Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

来源

  • File—The full path of the file you want to upload to the Storage bucket indicated in the Storage Bucket Name field. This field supports variables of the IResource type. Use this field when the file is dynamically obtained during execution, such as an attachment from an email.
  • Path —The full local path to the file you want to upload to the specified Storage Bucket. Relative paths are resolved based on the runtime execution directory. This field supports only strings and String variables. Use this field when the file is located in the project folder.
    Important: You must use one of these fields, as they are mutually exclusive. When specifying a local path, always use relative folder paths to ensure compatibility across different file structures on Windows and Linux systems. For example: newFolder/newFileName.txt.
其他
  • Folder Path—The path to the Orchestrator Folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports only strings and String variables. Use / as a subfolder separator to specify the desired folder.
  • Private—If selected, the values of variables and arguments are no longer logged at Verbose level.

存储

  • Destination—The path where you want to upload the file in the Storage Bucket. Use \ as a directory separator to specify the desired destination directory. If the destination file already exists, it is overwritten. This field supports only strings and String variables.
  • Storage Bucket Name—The name of the Storage Bucket where you want to upload the file. This field is mandatory. This field supports only strings and String variables.
  • 描述
  • 项目兼容性
  • 跨平台配置
  • Windows - 旧版 Windows 配置

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2025 UiPath。保留所有权利。