Copy from Remote Windows to Local UNIX
Copy from Remote Windows to Local UNIX via Universal Command Manager for UNIX
The following figure illustrates the copying of a file from a remote Windows system to a local UNIX system.
Although the command is shown on two lines, it should be entered as one line at the command prompt.
ucmd -cmd 'ucopy file' -host dallas -userid joe -pwd password > localfile
The stdout of the ucopy command on the remote host is redirected back to the local host and written to the stdout of ucmd, which is then redirected to the local file localfile.
The command ucopy is installed as part of UCMD Server on the remote system.
The file is copied as a text file since the default transfer mode is text.
Command Line Options
The command line options used in this example are:
Option | Description |
---|---|
Remote command | |
Directs the command to a computer with a host name of dallas. | |
Remote user ID with which to execute the command. | |
Password for the user ID. |
Components
Universal Command Manager for Windows