Scannex ip.buffer User Manual
© UK 2007-2021 Scannex Electronics Ltd. All rights reserved worldwide.
Directory
The name of an existing directory
on the FTP server.
e.g. “/data/sitestore/”
[blank]
Command
“
Tmp file & Rename
” – Checks whether the file exists, then
sends a temporary file to the server with an
create/overwrite instruction – the “STOR” command.
When successful, renames the temporary file to the
required name.
“
Overwrite
” – Sends the file to the server with an
create/overwrite instruction – the “STOR” command.
“
Append
” – Send the file to the server with a create/append
instruction – the “APPE” command.
See section 11.4.1
[Overwrite]
Filename
The filename for the data file. Special tags are allowed – see
[channel1.dat]
,
[channel2.dat]
, etc
Compression
“
none
” – send the data “as-is”, uncompressed
“
zlib deflate
” – compress with zlib deflate. The file suffix
“.zlib” will be added to the data filename
[none]
Limit
Sets the maximum amount of data that will be transferred in one
session. When the limit is reached the ip.buffer will stop
at the next whole record in the storage. A value of zero
means no limit.
[0]
Info Filename
After pushing the data the ip.buffer can also push (STOR) the
information set (i.e. the Lua “i.*” tree). Special tags are
supported (as in “Filename”). Blank = don't send.
[Blank]
Event Filename
After pushing the data (and info file) the ip.buffer can also push
(APPE) a single comma separated ASCII line into a file.
The CSV will contain: “
Date&Time, Device Name, Serial
Number, Channel Name, Filename, Sequence#,
Bytes
”.
Special tags are supported (as in “Filename”). Blank = don't
send.
[Blank]
11
The directory must already exist on the server. The ip.buffer never attempts to create a directory
on the server.
12
If the channel is programmed to provide the file uncompressed, the FTP client can decide
whether to retrieve an uncompressed or compressed version. By requesting the filename with
“.zlib” it will obtain a compressed version. See www.zlib.net for more details on the
zlib deflate
method.
13
If you combine the zlib option with the FTP Command “Append” then make sure the software at
the PC can handle multiple zlib streams in one file!
14
If there is an error sending either the info or the event file then the
whole
transfer is considered
a failure – data will not be deleted and re-delivery will be attempted.
15
The user account on the FTP server must have APPEND rights selected for this to function.
Page 97
Scannex ip.buffer User Manual
© UK 2007-2021 Scannex Electronics Ltd. All rights reserved worldwide.
Directory
The name of an existing directory
on the FTP server.
e.g. “/data/sitestore/”
[blank]
Command
“
Tmp file & Rename
” – Checks whether the file exists, then
sends a temporary file to the server with an
create/overwrite instruction – the “STOR” command.
When successful, renames the temporary file to the
required name.
“
Overwrite
” – Sends the file to the server with an
create/overwrite instruction – the “STOR” command.
“
Append
” – Send the file to the server with a create/append
instruction – the “APPE” command.
See section 11.4.1
[Overwrite]
Filename
The filename for the data file. Special tags are allowed – see
[channel1.dat]
,
[channel2.dat]
, etc
Compression
“
none
” – send the data “as-is”, uncompressed
“
zlib deflate
” – compress with zlib deflate. The file suffix
“.zlib” will be added to the data filename
[none]
Limit
Sets the maximum amount of data that will be transferred in one
session. When the limit is reached the ip.buffer will stop
at the next whole record in the storage. A value of zero
means no limit.
[0]
Info Filename
After pushing the data the ip.buffer can also push (STOR) the
information set (i.e. the Lua “i.*” tree). Special tags are
supported (as in “Filename”). Blank = don't send.
[Blank]
Event Filename
After pushing the data (and info file) the ip.buffer can also push
(APPE) a single comma separated ASCII line into a file.
The CSV will contain: “
Date&Time, Device Name, Serial
Number, Channel Name, Filename, Sequence#,
Bytes
”.
Special tags are supported (as in “Filename”). Blank = don't
send.
[Blank]
11
The directory must already exist on the server. The ip.buffer never attempts to create a directory
on the server.
12
If the channel is programmed to provide the file uncompressed, the FTP client can decide
whether to retrieve an uncompressed or compressed version. By requesting the filename with
“.zlib” it will obtain a compressed version. See www.zlib.net for more details on the
zlib deflate
method.
13
If you combine the zlib option with the FTP Command “Append” then make sure the software at
the PC can handle multiple zlib streams in one file!
14
If there is an error sending either the info or the event file then the
whole
transfer is considered
a failure – data will not be deleted and re-delivery will be attempted.
15
The user account on the FTP server must have APPEND rights selected for this to function.
Page 97