1 |
joko |
1.1 |
/* |
2 |
|
|
* Standard protocol commands. |
3 |
|
|
*/ |
4 |
|
|
|
5 |
|
|
ABOR [modem] (abort operation) |
6 |
|
|
abort active command/incoming call |
7 |
|
|
|
8 |
|
|
ACCT (specify account) |
9 |
|
|
|
10 |
|
|
ADMIN password |
11 |
|
|
administrator password |
12 |
|
|
|
13 |
|
|
ALLO (allocate disk space) |
14 |
|
|
|
15 |
|
|
ANSWER modem [DATA|VOICE|FAX] |
16 |
|
|
answer phone on specific line |
17 |
|
|
|
18 |
|
|
APPE file-name |
19 |
|
|
append to document/file |
20 |
|
|
|
21 |
|
|
CWD [directory-name] |
22 |
|
|
change working directory |
23 |
|
|
|
24 |
|
|
CDUP (change directory up one level) |
25 |
|
|
CWD .. |
26 |
|
|
|
27 |
|
|
CHMOD file-name mode |
28 |
|
|
set file protection |
29 |
|
|
|
30 |
|
|
CHOWN file-name user |
31 |
|
|
assign file ownership |
32 |
|
|
|
33 |
|
|
DELE file-name |
34 |
|
|
delete file/document |
35 |
|
|
|
36 |
|
|
DISABLE modem [reason] |
37 |
|
|
disable outbound-usage of modem |
38 |
|
|
|
39 |
|
|
ENABLE modem |
40 |
|
|
enable outbound-usage of modem |
41 |
|
|
|
42 |
|
|
HELP [<string>] |
43 |
|
|
return help |
44 |
|
|
|
45 |
|
|
FILEFMT [format-string] |
46 |
|
|
query/specify file format string |
47 |
|
|
|
48 |
|
|
FORM format-type |
49 |
|
|
document format |
50 |
|
|
|
51 |
|
|
IDLE [max-idle-timeout] |
52 |
|
|
set/query idle timeout |
53 |
|
|
|
54 |
|
|
JDELE [job-id] |
55 |
|
|
delete job |
56 |
|
|
|
57 |
|
|
JINTR [job-id] |
58 |
|
|
interrupt job |
59 |
|
|
|
60 |
|
|
JKILL [job-id] |
61 |
|
|
kill job |
62 |
|
|
|
63 |
|
|
JNEW |
64 |
|
|
create new job |
65 |
|
|
|
66 |
|
|
JOB [job-id] |
67 |
|
|
select current job |
68 |
|
|
|
69 |
|
|
JOBFMT [format-string] |
70 |
|
|
query/specify job format string |
71 |
|
|
|
72 |
|
|
JPARM [parm-name [parm-value]] |
73 |
|
|
set/query job parameter |
74 |
|
|
|
75 |
|
|
JREST (reset current job state) |
76 |
|
|
reset job state |
77 |
|
|
|
78 |
|
|
JSUBM [job-id] |
79 |
|
|
submit job |
80 |
|
|
|
81 |
|
|
JSUSP [job-id] |
82 |
|
|
suspend job |
83 |
|
|
|
84 |
|
|
JWAIT [job-id] |
85 |
|
|
wait for job |
86 |
|
|
|
87 |
|
|
JGDELE [jobgroup-id] |
88 |
|
|
delete job group |
89 |
|
|
|
90 |
|
|
JGINTR [jobgroup-id] |
91 |
|
|
interrupt job group |
92 |
|
|
|
93 |
|
|
JGKILL [jobgroup-id] |
94 |
|
|
kill job group |
95 |
|
|
|
96 |
|
|
JGNEW |
97 |
|
|
create job group |
98 |
|
|
|
99 |
|
|
JGPARM parm-name [parm-value] |
100 |
|
|
set/query job group parameter |
101 |
|
|
|
102 |
|
|
JGREST (reset current job group state) |
103 |
|
|
reset current job group state |
104 |
|
|
|
105 |
|
|
JGRP [jobgroup-id] |
106 |
|
|
select current job group |
107 |
|
|
|
108 |
|
|
JGSUBM [jobgroup-id] |
109 |
|
|
submit job group |
110 |
|
|
|
111 |
|
|
JGSUSP [jobgroup-id] |
112 |
|
|
suspend job group |
113 |
|
|
|
114 |
|
|
JGWAIT [jobgroup-id] |
115 |
|
|
wait for job group |
116 |
|
|
|
117 |
|
|
LIST [path-name] |
118 |
|
|
list directory/file |
119 |
|
|
|
120 |
|
|
MDTM path-name |
121 |
|
|
return file last modification time |
122 |
|
|
|
123 |
|
|
MODE (specify transfer mode) |
124 |
|
|
data transfer mode |
125 |
|
|
|
126 |
|
|
MDMFMT [format-string] |
127 |
|
|
query/specify modem format string |
128 |
|
|
|
129 |
|
|
NLST [path-name] |
130 |
|
|
list directory/file names |
131 |
|
|
|
132 |
|
|
NOOP |
133 |
|
|
no-op |
134 |
|
|
|
135 |
|
|
PASS password |
136 |
|
|
user password |
137 |
|
|
|
138 |
|
|
PASV (set server in passive mode) |
139 |
|
|
enable passive mode |
140 |
|
|
|
141 |
|
|
PORT a0,a1,a2,a3,p0,p1 |
142 |
|
|
port for data transfer |
143 |
|
|
|
144 |
|
|
PWD (print working directory) |
145 |
|
|
print working directory |
146 |
|
|
|
147 |
|
|
QUIT (terminate service) |
148 |
|
|
terminate session |
149 |
|
|
|
150 |
|
|
RCVFMT [format-string] |
151 |
|
|
query/specify recvq format string |
152 |
|
|
|
153 |
|
|
REIN (reinitialize server state) |
154 |
|
|
reinitialize server |
155 |
|
|
|
156 |
|
|
REST restart-marker |
157 |
|
|
restart data transfer |
158 |
|
|
|
159 |
|
|
RETP file-name |
160 |
|
|
retrieve next page of document/file |
161 |
|
|
|
162 |
|
|
RETR file-name |
163 |
|
|
retrieve document/file |
164 |
|
|
|
165 |
|
|
RNFR file-name |
166 |
|
|
|
167 |
|
|
RNTO file-name |
168 |
|
|
|
169 |
|
|
SHUT NOW|HHSS|YYYYMMDDHHSS [reason] |
170 |
|
|
shutdown server |
171 |
|
|
|
172 |
|
|
SITE site-cmd [arguments] |
173 |
|
|
site-specific command |
174 |
|
|
|
175 |
|
|
SIZE path-name |
176 |
|
|
return file size |
177 |
|
|
|
178 |
|
|
STAT [path-name] |
179 |
|
|
stat file/server status |
180 |
|
|
|
181 |
|
|
STOR file-name |
182 |
|
|
store document/file |
183 |
|
|
|
184 |
|
|
STOT (store unique temporary) |
185 |
|
|
store uniquely named document/file |
186 |
|
|
|
187 |
|
|
STOU (store unique) |
188 |
|
|
store uniquely named document/file |
189 |
|
|
|
190 |
|
|
STRU file-structure |
191 |
|
|
data transfer file structure |
192 |
|
|
|
193 |
|
|
SYST (return system type) |
194 |
|
|
system identification |
195 |
|
|
|
196 |
|
|
TZONE [GMT|LOCAL] |
197 |
|
|
set/query timezone usage |
198 |
|
|
|
199 |
|
|
TYPE transfer-type |
200 |
|
|
data transfer type |
201 |
|
|
|
202 |
|
|
USER username |
203 |
|
|
user name |
204 |
|
|
|
205 |
|
|
VRFY dialstring |
206 |
|
|
verify server to use for destination |
207 |
|
|
|
208 |
|
|
|
209 |
|
|
/* |
210 |
|
|
* Job parameter commands/keys. |
211 |
|
|
*/ |
212 |
|
|
ACCTINFO [<string>] |
213 |
|
|
BEGBR [ANY|bit-rate] |
214 |
|
|
BEGST [ANY|scanline-time] |
215 |
|
|
CHOPTHRESHOLD [inches] |
216 |
|
|
CLIENT [<string>] |
217 |
|
|
COMMENTS [<string>] |
218 |
|
|
COMMID (communication identifier) |
219 |
|
|
COVER path-name |
220 |
|
|
specify/query cover page document |
221 |
|
|
|
222 |
|
|
DATAFORMAT [ANY|G31D|G32D|G4] |
223 |
|
|
DIALSTRING [<string>] |
224 |
|
|
DOCUMENT path-name |
225 |
|
|
specify/query normal document |
226 |
|
|
|
227 |
|
|
DONEOP [<string>] |
228 |
|
|
EXTERNAL [<string>] |
229 |
|
|
FROMCOMPANY [<string>] |
230 |
|
|
FROMLOCATION [<string>] |
231 |
|
|
FROMUSER [<string>] |
232 |
|
|
FROMVOICE [<string>] |
233 |
|
|
GROUPID (job group identifier) |
234 |
|
|
HRES [dots-per-inch] |
235 |
|
|
JOBID (job identifier) |
236 |
|
|
JOBINFO [<string>] |
237 |
|
|
JOBTYPE (job type) |
238 |
|
|
LASTTIME [DDHHSS] |
239 |
|
|
time to kill job |
240 |
|
|
|
241 |
|
|
MAXDIALS [<number>] |
242 |
|
|
MAXPAGES [<number>] |
243 |
|
|
MAXTRIES [<number>] |
244 |
|
|
MINBR [ANY|bit-rate] |
245 |
|
|
MODEM [device|class] |
246 |
|
|
NDIAL [<number>] |
247 |
|
|
NOTIFY [NONE|DONE|REQUEUE|DONE+REQUEUE] |
248 |
|
|
NOTIFYADDR [email-address] |
249 |
|
|
NPAGES [<number>] |
250 |
|
|
NTRIES [<number>] |
251 |
|
|
OWNER [<name>|<number>] |
252 |
|
|
PAGECHOP [DEFAULT|NONE|ALL|LAST] |
253 |
|
|
PAGELENGTH [millimeters] |
254 |
|
|
PAGEWIDTH [millimeters] |
255 |
|
|
PASSWD [<string>] |
256 |
|
|
POLL selector [passwd] |
257 |
|
|
specify/query poll operation |
258 |
|
|
|
259 |
|
|
REGARDING [<string>] |
260 |
|
|
RETRYTIME [HHSS] |
261 |
|
|
retry interval for job |
262 |
|
|
|
263 |
|
|
SCHEDPRI [<number>] |
264 |
|
|
SENDTIME [NOW|YYYYMMDDHHSS] |
265 |
|
|
time to send job |
266 |
|
|
|
267 |
|
|
STATE (job state) |
268 |
|
|
STATUS [<string> |
269 |
|
|
SUBADDR [<string>] |
270 |
|
|
TAGLINE [<string>] |
271 |
|
|
TOCOMPANY [<string>] |
272 |
|
|
TOLOCATION [<string>] |
273 |
|
|
TOTDIALS [<number>] |
274 |
|
|
TOTPAGES [<number>] |
275 |
|
|
TOTTRIES [<number>] |
276 |
|
|
TOUSER [<string>] |
277 |
|
|
TOVOICE [<string>] |
278 |
|
|
USECONTCOVER [YES|NO] |
279 |
|
|
USEECM [YES|NO] |
280 |
|
|
USETAGLINE [YES|NO] |
281 |
|
|
USRKEY [<string>] |
282 |
|
|
VRES [lines-per-inch] |
283 |
|
|
HELP [<string>] |
284 |
|
|
return help |
285 |
|
|
|
286 |
|
|
|
287 |
|
|
/* |
288 |
|
|
* Site-specific commands. |
289 |
|
|
*/ |
290 |
|
|
ADDMODEM modem [speed] |
291 |
|
|
ADDUSER user-spec [passwd [adminwd]] |
292 |
|
|
CONFIG [parm-name [parm-value]]" |
293 |
|
|
DELMODEM modem |
294 |
|
|
DELUSER user-spec |
295 |
|
|
TRIGGER spec |
296 |
|
|
HELP [<string>] |