Download RealLink for Windows User Manual - This system is restricted to
Transcript
Filters If attribute 5 contains a number, this defines the maximum item size; the default (used if attribute 5 is null) is approximately 30,000 bytes. If the data exceeds this maximum size, the excess data will be written to overflow items with an incrementing suffix of .0001, .0002 etc. appended to the item-id. Note: The host can be configured so that WS-HOST can create items larger than 30,000 bytes. Refer to Chapter 3 for details. Alternatively, filter attribute 5 can contain one of the following option letters: C Specifies that the data is to be copied in compressed form for subsequent downloading by HOST-WS using a similar C type filter. Compressed mode is intended for temporary storage of PC files on the host when no host access is required to those files. If the C option is specified, no other filter attributes are used. D Specifies that the data to be copied is in Reality format as downloaded by HOST-WS using a similar D type filter. No translation of characters is performed. Note that this option allows more than one item to be created. This feature allows data and programs to be moved between host systems via PC disks and can prove useful for low-cost distribution of programs and data files within multiple-host organisations. If the D option is specified, none of the other filter attributes are used. Attribute 6 Defines the action to be taken if the host item already exists. If this attribute contains the letter O (for overwrite), the existing item is automatically overwritten. If the attribute is null, you are prompted for permission to perform the overwrite. Attributes 7+ Contain the character translation attributes as described in the section on filter items (page C-138). Example The following filter converts tabs into spaces, CR/LF pairs into attribute marks, and discards DOS end-of-file and 0xFF characters: 001 002 003 004 005 006 007 008 009 010 011 C-140 FLT DEFAULT INTERNAL WS-HOST FILTER WSHWS 1 30000 09>20 0A> 0D>FE 1A> FF> V3.0