HP-UX SNAplus2 R7 APPC Application Suite User's Guide
AFTP
Using AFTP
Before you can use
AFTP subcommands to the
AFTPD provider program, you first have to establish a session with
that program. Some configurations also require you to specify security information for the provider program. For
more information, see Section 2.2.1,
Selecting a User ID.
2.2.1 Selecting a User ID
File operations on the remote system are performed as a particular user. The default user is “anon”. If the “anon”
user ID has insufficient file access permissions on the remote machine or it is not configured, specify a different
user ID by using the UserID parameter.
If conversation-level security is configured on the session, specify a user ID that is configured with conversation-
level security on the remote system.
Using AFTP (and ACOPY) When Security Is Not Required
If conversation-level security is not required, the following conditions apply when using the aftp and acopy
commands:
• If an “anon” account is available on a remote machine, you do not have to specify a UserID (see Section 2.2.1,
Selecting a User ID).
• If an “anon” account is not available, you must specify a UserID. In this case, a Password is required before
you can perform file operations on the remote system (see Section 2.2.1, Selecting a User ID).
• If you do not specify a UserID and an “anon” account is not available, you receive the following error message:
The User ID is not available on this system
Using AFTP (and ACOPY) When Security Is Required
If conversation-level security is required, file operations on the remote system are permitted if the UserID you
specify satisfies each of the following conditions:
• It is available on the remote system
• It is a user ID configured for conversation-level security
You must specify a Password before file operations are performed by the specified user account.
If the UserID you specify for the conversation-level security does not have a matching UserID on the remote system,
file operations are done using the “anon” account on the remote computer. If the “anon” account does not exist,
the copy fails.
Note
The System Administrator specifies the UserID and Password values by using the
define_userid_password command.
Establishing a Session Using the Default User ID (ANON)
1. At the aftp> prompt, type:
open RemoteSystemID
where RemoteSystemID specifies the LU name of a computer on your APPC network that is running the AFTPD
provider program. (For more information about specifying a destination, see Section 1.2.2, Configuring Your
System.)
2. At the user ID prompt, press
[Return].
AFTP displays a message indicating that you are connected to RemoteSystemID.
18