HP-UX SNAplus2 R7 APPC Application Suite User's Guide
AFTP
AFTP Subcommands
AFTP Subcommand Description
rename old-filename new-
filename
Renames a file on the target computer from old-filename to new-filename.
You cannot use wildcards. Issue this subcommand only when a session is
open.
rmdir directory-spec or
rd directory-spec
Removes the directory on the target computer that you specify with
directory-spec. You cannot use wildcards. Issue this subcommand only
when a session is open.
2.3.5 Setting Allocation Sizes When Writing Files
AFTP
includes subcommands that enable you to allocate sizes when writing files to, or reading files from, a file
system that supports record-oriented files (such as VM, MVS, and AS/400). Use these subcommands to control
block size, record length, and record format.
Table 2–5, AFTP Subcommands to Set Allocation Sizes when Writing Files, summarizes the
AFTP subcommands
used for setting allocation sizes when writing files.
Table 2–5 AFTP Subcommands to Set Allocation Sizes when Writing Files
AFTP Subcommand Description
alloc [allocation-size] Sets the allocation size to use when writing files on a computer that uses
record-oriented files, such as Virtual Machine (VM), Multiple Virtual
Storage (MVS), and Application System 400 (AS/400) systems. The de-
fault setting is 0, indicating that the storing computer should use its own
default setting.
block [block-size]
Sets the block size to use when writing files. This value is used only on
systems that use record-oriented files, such as VM, MVS, and AS/400
systems. The default setting is 0, indicating that the storing computer
should use its own default setting.
lrecl [record-length] Sets the record length to use when writing files. This value is used only
on systems that use record-oriented files, such as VM, MVS, and AS/400
systems. The default setting is 0, indicating that the storing computer
should use its own default setting.
recfm [record-format] Sets the record format to use when writing files. This value is used only
on systems that use record-oriented files, such as VM, MVS, and AS/400
systems. Following are the allowable values: 0, V, VA, VB, VM, VS, VBA,
VBM, VBS, VSA, VSM, VBSA, VBSM, F, FA, FB, FM, FBA, FBM, FBS,
FBSM, FBSA, U, and UA. The default setting is 0, indicating that the stor-
ing computer should use its own default setting.
2.3.6 Local Commands on the Source Computer
You can enter commands on the source computer at any time during an
AFTP session.
You do not have to be connected to an
AFTPD provider program to execute the subcommands summarized in Table
2–6, AFTP Subcommands that Affect the Source Computer.
Table 2–6, AFTP Subcommands that Affect the Source Computer, summarizes the subcommands that affect the
source computer.
23