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 rst have to establish a session with
that program. Some congurations 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 insufcient le access permissions on the remote machine or it is not congured, specify a different
user ID by using the UserID parameter.
If conversation-level security is congured on the session, specify a user ID that is congured 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 le 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, le operations on the remote system are permitted if the UserID you
specify satises each of the following conditions:
It is available on the remote system
It is a user ID congured for conversation-level security
You must specify a Password before le operations are performed by the specied user account.
If the UserID you specify for the conversation-level security does not have a matching UserID on the remote system,
le 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 species 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 species 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, Conguring Your
System.)
2. At the user ID prompt, press
[Return].
AFTP displays a message indicating that you are connected to RemoteSystemID.
18