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

工作流活动

上次更新日期 2026年3月6日

从 URL 下载文件

UiPath.Activities.System.FileOperations.DownloadFileFromUrl

The Download file from URL activity lets you download a file from a given URL. The output of the activity is the standard for file handling - ILocalResource which can be later used with any activity that needs the file.

项目兼容性

Windows

配置

  • URL - 要从中下载文件的完整 URL。URL 必须包含http://https://前缀。

属性面板

选项

  • 将文件另存为- 为下载的文件使用自定义名称。如果留空,活动将根据 URL 信息确定文件名。
  • 如果文件已存在 -允许您选择文件名已存在时要执行的操作。可用选项包括:
    • 自动重命名 - 增加文件名,这是默认选项。
    • 替换 - 覆盖现有文件。
    • “不替换”- 如果找到现有项目,则失败。
  • 超时(秒) - 在发生错误之前,活动等待服务器响应并开始下载文件的持续时间(以秒为单位)。默认值为 600 秒。
  • User Agent - An HTTP request header used by servers and network peers to identify the requesting party.

输出

  • Downloaded file - The reference to the downloaded file. Saved as a OutArgument<ILocalResource>.
  • 项目兼容性
  • 配置
  • 属性面板

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新