The DBMS_FILE_TRANSFER
package provides procedures to copy Oracle ASM files within a database or to transfer binary files between databases that use Oracle ASM. The DBMS_FILE_TRANSFER
package has the following procedures:
COPY_FILE
—Reads a file from a source directory and creates a copy of the file in a destination directory. The source and destination directories can both be in a local file system or in an Oracle ASM disk group. You can also use this procedure to copy between a local file system and an Oracle ASM disk group; the copy operation is valid in either direction.
GET_FILE
—Contacts a remote database to read a remote file and then creates a copy of the file in the local file system or Oracle ASM disk group.
PUT_FILE
—Reads a local file or Oracle ASM disk group and contacts a remote database to create a copy of the file in the remote file system.
Oracle Database PL/SQL Packages and Types Reference for more information about the DBMS_FILE_TRANSFER
package