Copy from Local UNIX to Remote Windows
Copy from Local UNIX to Remote Windows via Universal Command Manager for UNIX
The following figure illustrates the copying of a file from a local UNIX system to a remote Windows system.
Although the command is shown on two lines, it should be entered as one line at the command prompt.
ucmd -cmd 'ucopy > remotefile' -host dallas -userid joe -pwd password < localfile
The ucopy command receives its stdin file from ucmd. The standard in of UCMD is redirected from localfile.
The command ucopy is installed as part of Universal Command 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. |