Export (0) Print
Expand All

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;
    }
  }


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): 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

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

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.

 
 
Show:
© 2015 Microsoft