enigma-bbs/docs/_docs/filebase/tic-support.md

102 lines
2.2 KiB
Markdown
Raw Normal View History

---
layout: page
title: TIC Support
---
2020-05-15 03:20:27 +00:00
## TIC Support
ENiGMA½ supports FidoNet-Style TIC file attachments by mapping TIC areas to local file areas.
2020-05-15 03:20:27 +00:00
Under a given node defined in the `ftn_bso` config section in `config.hjson` (see
2020-06-13 12:07:19 +00:00
[BSO Import/Export](../messageareas/bso-import-export.md)), TIC configuration may be supplied:
```hjson
{
scannerTossers: {
ftn_bso: {
nodes: {
"46:*": {
packetPassword: mypass
encoding: cp437
archiveType: zip
tic: {
password: TESTY-TEST
uploadBy: Agoranet TIC
allowReplace: true
}
}
}
}
}
}
```
2020-05-15 03:20:27 +00:00
You then need to configure the mapping between TIC areas you want to carry, and the file base area and storage tag for them to be tossed to. Optionally you can also add hashtags to the tossed files to assist users in searching for files:
2020-05-15 03:20:27 +00:00
```hjson
ticAreas: {
agn_node: {
areaTag: msgNetworks
storageTag: msg_network
hashTags: agoranet,nodelist
}
}
2020-05-15 03:20:27 +00:00
```
Multiple TIC areas can be mapped to a single file base area.
2020-05-15 03:20:27 +00:00
### Example Configuration
An example configuration linking file base areas, FTN BSO node configuration and TIC area configuration.
2020-05-15 03:20:27 +00:00
```hjson
fileBase: {
areaStoragePrefix: /home/bbs/file_areas/
2020-05-15 03:20:27 +00:00
storageTags: {
msg_network: "msg_network"
}
2020-05-15 03:20:27 +00:00
areas: {
msgNetworks: {
name: Message Networks
desc: Message networks news & info
storageTags: [
"msg_network"
]
}
}
}
scannerTossers: {
ftn_bso: {
nodes: {
"46:*": {
packetPassword: mypass
encoding: cp437
archiveType: zip
tic: {
password: TESTY-TEST
uploadBy: Agoranet TIC
allowReplace: true
}
}
}
}
}
ticAreas: {
agn_node: {
areaTag: msgNetworks
storageTag: msg_network
hashTags: agoranet,nodelist
}
agn_info: {
areaTag: msgNetworks
storageTag: msg_network
hashTags: agoranet,infopack
}
}
2020-05-15 03:20:27 +00:00
```
## See Also
2020-11-22 20:53:47 +00:00
[Message Networks](../messageareas/message-networks.md)