13.2.16 File transfer
13.2.16.1 Arrays with symbolic indices
TFT_Info
Properties of a file entry
// name
Name of the file
// stamp
Time stamp of the file (seconds since 31.12.1999)
// stamp256
Fraction of the next started sec. (resolution 1/256 sec.)
// size
File size in byte
// crc
Ethernet CRC32 of the file
// flags
File flags (see "File flags" in
//
chapter
#define TFT_Info[
.name{256}, .stamp, .stamp256, .size, .crc, .flags ]
13.2.16.2 Constants
File flags
FT_FLAG_READ
= 0x0001,
// File can be read by the server.
FT_FLAG_WRITE
= 0x0002,
// File can be written by the server.
FT_FLAG_NODE
= 0x0004
/* file nodes (required to entitle the server to
create a new file) */
FT_FLAG_SYSTEM = 0x0008
/* System file (cannot be used by the
script) */
File transfer command
FT_CMD_NONE
= 0,
FT_CMD_UNLOCK = 1,
/* File transfer session terminated. The server
releases the block again. */
FT_CMD_LIST
= 2,
/* The server requests the properties
of a file */
FT_CMD_READ
= 3,
// The server requests a part of a file.
FT_CMD_STORE
= 4,
// The server requests a file to be written.
FT_CMD_WRITE
= 5,
/* The server provides a block to be written in
a file. */
FT_CMD_DELETE = 6,
// The server requests a file to be deleted.
188
Rev. 05
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......