Copy from Remote Windows to Local IBM i via UCMD Manager

Copy from Remote Windows to Local IBM i via Universal Command Manager for IBM i

The following figures illustrate copying a file from a remote Windows system to a local file.


UCOPY, which the UCMD Server invokes on system dallas, retrieves data from the file named infile. It sends data to the UCMD Manager running under IBM i using standard output. The UCMD Manager, in turn, receives input via stdin and writes to file specified by SOTFILE, localfile. The file is copied via UCMD as a text file, since the default transfer mode is text.


UCOPY runs on the remote host and retrieves data from c:\ntinput.file. UCOPY output is redirected back to the local host and written to the stdout of STRUCM. STRUCM output is, in turn, directed to the local file SOTFILE and, optionally, SOTMBR. The file is copied via UCMD as a text file, since the default transfer mode for standard files is text.


The command ucopy is installed as part of UCMD Server on the remote system.

Command Line Options

The command line options used are:

Option

Description

CMD

Remote command 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.

USERID

Remote user ID with which to execute the command.

PWD

Password for the user ID.

SOTFILE [SOTMBR]

Location to which the stdout file data is written.

Components

Universal Command Manager for IBM i

Universal Command Server for Windows

Universal Copy