2.2.4.16.1 Request
-
SMB_Parameters { UCHAR WordCount; Words { SMB_FILE_ATTRIBUTES FileAttributes; UTIME CreationTime; } } SMB_Data { USHORT ByteCount; Bytes { UCHAR BufferFormat; SMB_STRING FileName; } }
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMB_Parameters |
|||||||||||||||||||||||||||||||
... |
SMB_Data (variable) |
||||||||||||||||||||||||||||||
... |
SMB_Parameters (7 bytes):
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1WordCount
Words
...
-
WordCount (1 byte): This field MUST be 0x03.
-
Words (6 bytes):
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1FileAttributes
CreationTime
...
-
FileAttributes (2 bytes): A 16-bit field of 1-bit flags that represent the file attributes to assign to the file if it is created successfully.
-
CreationTime (4 bytes): The time that the file was created on the client, represented as the number of seconds since Jan 1, 1970, 00:00:00.0.
-
SMB_Data (variable):
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1ByteCount
Bytes (variable)
...
-
ByteCount (2 bytes): This field MUST be greater than or equal to 0x0002.
-
Bytes (variable):
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1BufferFormat
FileName (variable)
...
-
BufferFormat (1 byte): MUST be 0x04, the format code for an SMB_STRING.
-
FileName (variable): A null-terminated string that contains the fully qualified name of the file, relative to the supplied TID, to create on the server.
-