Copy Encrypted File from Remote Windows to Local UNIX

Copy Encrypted File 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 server.

If it is coded in a script, then the UNIX continuation character of \ must be used.

ucmd -cmd 'ucopy ntinputfile' -host nthost -encryptedfile 
ntid.file > /tmp/unixoutputfile


The stdout of the ucopy command on the remote host is redirected back to the local host and written to /tmp/unixoutputfile. 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

-cmd

Remote command ucopy file to execute. The ucopy program copies the files specified on the command line to its stdout.

-host

Directs the command to a computer with a host name of nthost.

-encryptedfile

File from which to read encrypted command options.

Components

Universal Command Manager for Windows

Universal Copy