FTP subcommand codes
Table 1 lists the valid FTP subcommand codes. Information in the EXIT_IF_ERROR column specifies whether an error causes FTP to end if you specify the EXIT parameter on the FTP command or specify the CLIENTEXIT TRUE statement in the FTP.DATA file.
Note: LOCSITE will EXIT_IF_ERROR only when there are no
parameters on the command.
Code number | Subcommand | EXIT_IF_ERROR |
---|---|---|
00 | No subcommand selected | Determined by internal FTP CLIENT ERROR CODE |
1 | AMBIGUOUS | false |
2 | ? | false |
3 | ACCT | true |
4 | APPEND | true |
5 | ASCII | true |
6 | BINARY | true |
7 | CD | true |
8 | CLOSE | true |
9 | TSO | false |
10 | OPEN | true |
11 | DEBUG | false |
12 | DELIMIT | false |
13 | DELETE | true |
14 | DIR | true |
15 | EBCDIC | true |
16 | GET | true |
17 | HELP | false |
18 | LOCSTAT | true |
19 | USER | true |
20 | LS | true |
21 | MDELETE | true |
22 | MGET | true |
23 | MODE | true |
24 | MPUT | true |
25 | NOOP | true |
26 | PASS | true |
27 | PUT | true |
28 | PWD | true |
29 | QUIT | true |
30 | QUOTE | true |
31 | RENAME | true |
32 | SENDPORT | true |
33 | SENDSITE | false |
34 | SITE | false |
35 | STATUS | true |
36 | STRUCTURE | true |
37 | SUNIQUE | true |
38 | SYSTEM | true |
40 | TYPE | true |
41 | LCD | true |
42 | LOCSITE | true (see previous note in FTP subcommand codes) |
43 | LPWD | false |
44 | MKDIR | true |
45 | LMKDIR | true |
46 | EUCKANJI | true |
47 | IBMKANJI | true |
48 | JIS78KJ | true |
49 | JIS83KJ | true |
50 | SJISKANJI | true |
51 | CDUP | true |
52 | RMDIR | true |
53 | HANGEUL | true |
54 | KSC5601 | true |
55 | TCHINESE | true |
56 | RESTART | false |
57 | BIG5 | true |
58 | BLOCK | true |
59 | COMPRESS | true |
60 | FILE | true |
61 | PROXY | true |
62 | RECORD | true |
63 | SCHINESE | true |
64 | STREAM | true |
65 | GLOB | false |
66 | PROMPT | false |
67 | UCS2 | true |
68 | ! | true |
70 | DUMP | false |
71 | VERBOSE | false |
72 | CLEAR | true |
73 | CPROTECT | true |
74 | PRIVATE | true |
75 | PROTECT | true |
76 | SAFE | false |
77 | CCC | true |
78 | LANGUAGE | true |
79 | FEATURE | true |
80 | SRESTART | true |
81 | AUTH | true |
82 | mkfifo | true |
83 | MVSGET | true |
84 | MVSPUT | true |