HP-UX SNAplus2 R7 APPC Application Suite User's Guide

ACOPY
Using ACOPY
Guide). If security is congured for your system, you must specify the -u UserID option and the -p Password
option. For information about these and other
ACOPY options, see Section 3.2.2, ACOPY Options. See also Section
2.2.1, Selecting a User ID.
3.2.1 ACOPY Restrictions
Following are the restrictions for using
ACOPY:
You can specify only one le to copy from and one le to copy to. To perform more complex copying operations,
use
AFTP.
One of the two named les must be a remote le, and the other must be a local le. It is not possible to copy
les local-to-local or remote-to-remote.
To use the system without specifying a user ID and password, you must set up an anon account and disable
conversation-level security. (For more information about disabling security, refer to the HP-UX SNAplus2
Administration Guide.)
3.2.2 ACOPY Options
The
ACOPY options are as follows:
-u UserID
Species the user ID that is sent to the remote system. The UserID can be one to eight characters in
length. One indication that the remote transaction program requires security is if you receive the CPI-C
error message CM_SECURITY_NOT_VALID when attempting to copy a le. If you have conversation-level
security congured for your system, this option is required.
-p Password
Species the password that is sent to the remote system. This option is required when a user ID has been
specied or if you have security congured for your system. The Password can be one to eight characters in
length. If you do not enter a password after specifying a user ID,
ACOPY will prompt you to specify one.
-m ModeName
The transfer mode name. The default ModeName is #BATCH.
-t TPName
The TP name that runs on the remote system (provider TP). The default TPName is
AFTPD.
-n
This option overrides the security option. By default,
ACOPY sends the user ID of the running process to the
remote system. If the remote system is not congured to require security, this option stops a user ID from
being sent. If the remote system is not congured to require security, use this option if you receive the error
message CM_SECURITY_NOT_VALID.
-b
This option species that data should be transferred in binary format.
-a
This option species that data should be transferred in ASCII text format. This is the default le transfer
mode, but you can congure the transfer mode default to be either ASCII or binary depending on the le
type being transferred. For more information, see Section 2.1, AFTP Conguration.
If you specify any of the options more than once, the system uses the last one entered.
26