HP-UX SNAplus2 R7 APPC Application Suite User's Guide
AFTP
Using AFTP
access to the files in d:\myfiles and its subdirectories.
provide_access
users(johndoe)
directory(d:\myfiles)
permissions(read write)
;
*/
/*
The following examples show how to provide read-only access for
people who connect without security information ("anonymous").
provide_access
users(anonymous)
directory(c:\aftptest\)
permissions(read)
;
*/
/*
The following example shows how to provide read/write access for
everyone who connects without security information (that is,
everyone except "anonymous").
provide_access
users(*)
directory(c:\allusers)
permissions(read write)
;
*/
provide_access
users(anonymous)
directory(c:\tmp)
permissions(read write)
;
2.2 Using AFTP
To enter the AFTP
environment, ensure that the requester program (AFTP) is in a directory in your path, and type
one of the following commands at the HP-UX prompt:
aftp
aftp RemoteSystemID
where RemoteSystemID is a Remote System ID as defined in Section 1.2.2, Configuring Your System.
When
AFTP is started, the aftp> prompt is displayed.
Alternatively, type the following at the HP-UX prompt to specify an input file that contains a series of
AFTP
subcommands:
aftp [-f input-file]
The commands in the input file are executed within the AFTP environment.
17