Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
Table of Contents

Copy from Remote UNIX to Local Windows via Universal Command Manager for Windows

The following figure illustrates the copying of a file from a remote UNIX system to a local Windows system. 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 Windows continuation character of ¬ must be used.

Panel
ucmd -cmd " /opt/universal/bin/ucopy unixinputfile"       
-host unixhost -encryptedfile unixid.file > c:\temp\ntoutputfile


Anchor
1032011
1032011
The standard out of the ucopy command on the remote host is redirected back to the local host and written to c:\temp\ntoutput.file. The command ucopy is installed as part of Universal Command Server on the remote system.

Anchor
1032012
1032012
The file is copied as a text file, since the default transfer mode for standard files is text.

Parameters

Anchor
1032014
1032014
The following parameters should be changed to match your information:

Parameter

Description

ntoutputfile

Path and filename of output file

unixinputfile

Path and file name of input file

unixhost

IP address of remote UNIX server

unixid.file

File on the Windows server used to house the authentication parameters for the UNIX server

Command Line Options

Anchor
1032038
1032038
The command line options used in this example 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 unixhost.

-encryptedfile

File from which to read encrypted command options.

Components

Anchor
1044894
1044894
Universal Command Manager for Windows

Anchor
1056501
1056501
Universal Copy