Copy Encrypted File from Local UNIX to Remote Windows
Copy Encrypted File 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 server.
Although the command is shown on two lines, it should be entered on one line at the command prompt. If it is coded in a script, the UNIX continuation character of \ must be used.
ucmd -cmd 'ucopy -output c:\temp\ntoutput.file' -host nthost -encryptedfile login.file < /tmp/unixinput.file
The stdin of the ucmd manager on the local host is redirected to the remote host and written to stdout file c:\temp\ntoutput.file
. 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 for standard files is text.
Command Line Options
The command line options used are:
Option | Description |
---|---|
Remote command | |
Directs the command to a computer with a host name of nthost. | |
File from which to read encrypted command options. |
Components
Universal Command Manager for UNIX