1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! The RFC959 Allocate (`ALLO`) command
//
// This command may be required by some servers to reserve
// sufficient storage to accommodate the new file to be
// transferred. The argument shall be a decimal integer
// representing the number of bytes (using the logical byte
// size) of storage to be reserved for the file. For files
// sent with record or page structure a maximum record or page
// size (in logical bytes) might also be necessary; this is
// indicated by a decimal integer in a second argument field of
// the command. This second argument is optional, but when
// present should be separated from the first by the three
// Telnet characters <SP> R <SP>. This command shall be
// followed by a STORe or APPEnd command. The ALLO command
// should be treated as a NOOP (no operation) by those servers
// which do not require that the maximum size of the file be
// declared beforehand, and those servers interested in only
// the maximum record or page size should accept a dummy value
// in the first argument and ignore it.
use crateCmd;
use crateFTPError;
use crate;
use crateCommandArgs;
use cratestorage;
;