downloadFile

将环境中的文件下载到本地计算机。

使用此命令下载数据、元数据和备份快照进行本地存储。该文件将下载到默认下载位置。请参阅“默认文件位置”。

如果在生成环境快照时执行此命令来下载当前快照(例如,在日常维护期间),您会收到 File not found(未找到文件)或 Invalid File(文件无效)错误。

适用于

Planning、Planning 模块、自由形式、Financial Consolidation and Close、Tax Reporting、Account Reconciliation、Profitability and Cost Management、Enterprise Profitability and Cost Management、Oracle Enterprise Data Management Cloud、Narrative Reporting、销售规划和战略性人员规划。

所需角色

  • 服务管理员
  • 任何应用程序角色和“迁移 - 管理”细粒度角色

用法

epmautomate downloadFile "[FILE_PATH]/FILE_NAME]"

提示:

使用 listFiles 命令可标识要下载的文件所在的位置。

示例

  • 下载维护快照:epmautomate downloadFile "Artifact Snapshot"
  • 下载自定义快照:epmautomate downloadFile "mySnapshot.zip"
  • 下载 Narrative Reporting 维护快照:epmautomate downloadFile "EPRCS_Backup.tar.gz"
  • 从默认下载位置下载文件:epmautomate downloadFile data.csv
  • 从数据管理文件夹下载:epmautomate downloadfile outbox/dm_data/data.csv
  • 从 profitoutbox 下载:epmautomate downloadFile profitOutbox/data.csv
  • 从 Account Reconciliation 环境中的 apr/2025-06-01 文件夹中下载活动报表 2025-06-01 20_38_43.html:

    epmautomate downloadfile "apr/2025-06-01 20_38_43/2025-06-01 20_38_43.html"