Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

-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 dallas.

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

Components

Universal Command Manager for Windows

Universal Copy

  • No labels