Wildcard Copies from Microsoft Windows to UNIX

In the following example, a Connect:Direct® for Microsoft Windows PNODE directory C:\financial\accounts contains the files customer1, customer2, customer3, supplier1, and supplier2. A Connect:Direct for UNIX SNODE has the directory /financial/accounts. The following wildcard copy command copies the files called customer1, customer2, and customer3 from the PNODE to the /financial/accounts directory on the SNODE. The source file names and the destination file names are identical.

WILDCOPY  COPY
                FROM  (FILE=C:\financial\accounts\customer?)
                TO    (FILE=/financial/accounts/
                       DISP=RPL)

When specifying a path and filename on Microsoft Windows, you can use the standard Microsoft Windows format when sending from C: or D: as show in the FROM parameter above. If you send from any other drive, you must use the UNC format such as \servername\financial\accounts\customer?.

You must include the ending forward slash (/) for the destination directory.

The following wildcard copy step copies customer1, customer2, customer3, supplier1, and supplier2 into the /financial/accounts directory on the SNODE. The source file names and the destination file names are identical.

WILDCOPY  COPY
                FROM  (FILE=C:\financial\accounts\*)
                TO    (FILE=/financial/accounts/
                       DISP=RPL)