copyFileFromInstance

Copies a file from a source environment to the environment from which you are executing this command.

Before running this command, using EPM Automate, sign into the environment into which you want to copy the file.

Applies to

Planning, Planning Modules, FreeForm, Financial Consolidation and Close, Tax Reporting, Account Reconciliation, Profitability and Cost Management, Enterprise Profitability and Cost Management, Oracle Enterprise Data Management Cloud, Narrative Reporting, Strategic Workforce Planning, and Sales Planning.

Required Roles

  • Service Administrator
  • Power User and the Migrations - Administer application role (Oracle Enterprise Data Management Cloud and Profitability and Cost Management)

Usage

epmautomate copyFileFromInstance SOURCE_FILE_NAME USERNAME PASSWORD_FILE URL TARGET_FILE_NAME where:

  • SOURCE_FILE__NAME is the name of the file (including extension) that you want to copy from the source environment.
  • USERNAME is the user name of a Service Administrator in the of the source environment.
  • PASSWORD_FILE is the name and location of the file containing the encrypted password of the Service Administrator of the source environment.
  • URL is the URL of the source environment.
  • TARGET_FILE_NAME is a unique name for the file (including extension) in the environment from which you run this command.

Example

epmautomate copyFileFromInstance "my data file.zip" serviceAdmin C:\mySecuredir\password.epw https://test-cloud-pln.pbcs.us1.oraclecloud.com "my target data file.zip"