セキュアなSFTPサーバーからOracle Fusion Cloud Enterprise Performance Management環境にファイルを直接コピーします。
このコマンドを使用すると、ファイルをSFTPサーバーから直接コピーでき、最初にSFTPクライアントを使用してファイルを別のサーバーにダウンロードし、次にEPM自動化またはREST APIを使用してCloud EPMにアップロードする必要がありません。
SFTPサーバーでIP許可リストが有効になっている場合は、Cloud EPM環境をホストするOCIリージョンのアウトバウンドIPアドレスをSFTPサーバーのIP許可リストに追加する必要があります。OCIリージョンのアウトバウンドIPアドレスについては、オペレーション・ガイドのCloud EPMのデータ・センターおよびリージョンのアウトバウンドIPアドレスを参照してください。
Note:
このコマンドは、ポート22で実行されているSFTPサーバーのみをサポートします。このコマンドは、次の暗号、MAC、キー交換アルゴリズムおよびホスト・キー・アルゴリズムをサポートします。SFTPサーバーには、必須カテゴリごとにこれらのうち少なくとも1つが必要です。Table 2-2 サポートされている暗号アルゴリズム
| 暗号アルゴリズム・タイプ | サポートされるアルゴリズム |
|---|---|
| 暗号 |
chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com, aes128-cbc,aes192-cbc, aes256-cbc |
| MAC |
hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 |
| キー交換アルゴリズム |
sntrup761x25519-sha512, sntrup761x25519-sha512@openssh.com, curve25519-sha256, curve25519-sha256@libssh.org, curve448-sha512, ecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256, diffie-hellman-group-exchange-sha256, diffie-hellman-group18-sha512, diffie-hellman-group17-sha512, diffie-hellman-group16-sha512, diffie-hellman-group15-sha512, diffie-hellman-group14-sha256 |
| ホスト・キー・アルゴリズム |
ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519, sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com, rsa-sha2-512,rsa-sha2-256, ssh-rsa |
適用対象
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、Strategic Workforce PlanningおよびSales Planning。
必要な役割
使用方法
epmautomate copyFromSftp SFTP_SERVER_URL FILE_NAME username=USERNAME [password=PASSWORD] [privateKey=KEY_FILE] [passPhrase=PASSPHRASE]。ここで:
SFTP_SERVER_URLはSFTPサーバーのURLで、サーバーからコピーするファイルの場所と名前が含まれます。FILE_NAMEは、Cloud EPM環境内のファイルのファイル名です。たとえば、デフォルトのアップロード場所をコピーしない場合などは、パスを指定します。USERNAMEは、SFTPサーバーの必要なアクセス権を持つユーザーのIDです。PASSWORDはオプションで、SFTPユーザーのパスワードです。SFTPサーバーへのアクセスに秘密キーを使用していない場合に必須です。KEY_FILEはオプションで、コンピュータに格納されている秘密キー(PEM)ファイルの名前およびパスです。ユーザーの認証にプレーン・テキスト・パスワードを使用しない場合に必須です。PASSPHRASEはオプションで、暗号化キーを保護するために使用されるパスフレーズです。秘密キーの暗号化にパスフレーズが使用されている場合にのみ必須です。例
epmautomate copyFromSftp sftp://mySFTP_Server/someDirectory/someFile.csv myFile.csv username=jdoe password=Sftpwelcome
epmautomate copyFromSftp sftp://mySFTP_Server/someDirectory/someFile.csv myFile.csv username=jdoe privateKey= ~/.oci/sftp_key.pem
epmautomate copyFromSftp sftp://mySFTP_Server/someDirectory/some_file.csv myFile.csv username=jDoe privateKey=~/.oci/sftp_key.pem passphrase=myPassPhrase