Request File Transfer
0x38The Request File Transfer service allows the client to perform file system operations on the server, such as adding, deleting, replacing, reading, or resuming files and directories.
✕Negative response codes
0x130x220x310x330x70
Request
SID 0x38 · 5 bytesLen (bits)
Parameter description
Value (hex)
8
Request File Transfer SID0x388
Creates a new file on the server.
0x0116
filePathAndNameLengthByte length of the filePathAndName field.0x0000-0xFFFFn*
8
filePathAndNameUTF-8 encoded path and name of the target file or directory.0x00-0xFF4
compressionMethodCompression algorithm applied to the file data.4
encryptingMethodEncryption algorithm applied to the file data.8
fileSizeParameterLengthByte length of each file size field (fileSizeUnCompressed and fileSizeCompressed).0x00-0xFFm*
8
fileSizeUnCompressedSize in bytes of the uncompressed file.0x00-0xFFm*
8
fileSizeCompressedSize in bytes of the compressed file.0x00-0xFFn = value of filePathAndNameLength
m = value of fileSizeParameterLength
Positive response
SID 0x78Len (bits)
Parameter description
Value (hex)
8
Request File Transfer SID0x788
Creates a new file on the server.
0x018
lengthFormatIdentifierByte length of the maxNumberOfBlockLength field.0x00-0xFFn*
8
maxNumberOfBlockLengthMaximum number of data bytes per TransferData message.0x00-0xFF4
compressionMethodCompression algorithm selected by the server.4
encryptingMethodEncryption algorithm selected by the server.n = value of lengthFormatIdentifier
m = value of fileSizeOrDirInfoParameterLength