2.2.4.15.1 Request

 SMB_Parameters
   {
   UCHAR WordCount;
   Words
     {
     SMB_FILE_ATTRIBUTES FileAttributes;
     UTIME               CreationTime;
     }
   }
 SMB_Data
   {
   USHORT ByteCount;
   Bytes
     {
     UCHAR      BufferFormat;
     SMB_STRING DirectoryName;
     }
   }


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

SMB_Parameters

...

SMB_Data (variable)

...

SMB_Parameters (7 bytes):


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

WordCount

Words

...

WordCount (1 byte): This field MUST be 0x03.

Words (6 bytes):


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

FileAttributes

CreationTime

...

FileAttributes (2 bytes): This field SHOULD be ignored by the server.

CreationTime (4 bytes): The time that the file was created, 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


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ByteCount

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


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

BufferFormat

DirectoryName (variable)

...

BufferFormat (1 byte): This field MUST be 0x04.

DirectoryName (variable): A null-terminated string that represents the fully qualified name of the directory relative to the supplied TID in which to create the temporary file.