copyFromSFTP
Copies a file directly from a secure SFTP server to an Oracle Fusion Cloud Enterprise Performance Management environment. Using this command, you can copy a file directly from an SFTP server without first downloading it to another server using an SFTP client and then using EPM Automate or the REST API to upload it to Cloud EPM.
If IP allowlist is enabled for the SFTP server, you must add the outbound IP address of the OCI region that hosts the Cloud EPM environments to the IP allowlist of the SFTP server. See Outbound IP Addresses of Cloud EPM Data Centers and Regions in the Operations Guide for the outbound IP addresses of OCI regions.
Note:
This command supports SFTP server running on port 22 only.Applies to
Planning, Planning Modules, FreeForm, Financial Consolidation and Close, Tax Reporting, Account Reconciliation, Profitability and Cost Management, Enterprise Profitability and Cost Management, Oracle Fusion Cloud Enterprise Data Management, Narrative Reporting, Strategic Workforce Planning, and Sales Planning.
Required Roles
- Service Administrator
- Any predefined role and the Migrations - Administer application role
Usage
epmautomate copyFromSftp SFTP_SERVER_URL FILE_NAME
username=USERNAME password=PASSWORD
where:
SFTP_SERVER_URL
is the URL of the SFTP server including the location and name of the file you want to copy from the server.FILE_NAME
is the file name for the file in the Cloud EPM environment. Specify the path, for example, if you are not copying to the default upload location.USERNAME
is the ID of a user who has the required access rights on SFTP server.PASSWORD
is the SFTP user password.
Example
epmautomate copyFromSftp
sftp://mySFTP_Server/someDirectory/someFile.csv myFile.csv username=jdoe
password=Sftpwelcome