Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
history:newfilebase [2022/01/02 13:28] – created digital man | history:newfilebase [2024/09/14 13:50] (current) – [Long Filenames] Mention characters sets and case (in)sensitivity of filenames digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== New File Base (introduced in 3.19) ====== | + | ====== New Filebase |
- | The new FileBase | + | The new filebase |
- | (e.g. data/ | + | (e.g. '' |
- | ^ Purpose | + | ^ Purpose |
- | | Index (e.g. filenames) | + | | Index (e.g. filenames) |
- | | Data (e.g. descriptions) | code.dat | code.shd | | + | | Data (e.g. descriptions) | '' |
- | | Extended Descriptions | + | | Extended Descriptions |
- | | Metadata | + | | Metadata |
- | | Allocation Tables | + | | Allocation Tables |
If these new filebase file extensions look familiar to you, that's because | If these new filebase file extensions look familiar to you, that's because | ||
Line 29: | Line 29: | ||
time during the upgrade process), you can turn off file hashing in the | time during the upgrade process), you can turn off file hashing in the | ||
per-directory Toggle Options in SCFG-> | per-directory Toggle Options in SCFG-> | ||
- | this opt-out for the directories of choice *before* you run ' | + | this opt-out for the directories of choice |
' | ' | ||
Line 53: | Line 53: | ||
to accommodate the limited width of a traditional BBS user terminal. An effort | to accommodate the limited width of a traditional BBS user terminal. An effort | ||
is made to always display the full file extension/ | is made to always display the full file extension/ | ||
- | (e.g. " | + | (e.g. " |
Note: only 64 characters of each filename (always including any extension) are | Note: only 64 characters of each filename (always including any extension) are | ||
Line 59: | Line 59: | ||
64K characters in length, is stored intact in the filebase. | 64K characters in length, is stored intact in the filebase. | ||
- | Filenames with / | + | Filenames with //extensions// longer than 3 characters, e.g. " |
can be added to the filebases, but the configurable compressible, | can be added to the filebases, but the configurable compressible, | ||
and viewable file types/ | and viewable file types/ | ||
Similarly, a maximum length of 3 character archive " | Similarly, a maximum length of 3 character archive " | ||
user record (for each user's QWK packet format and temp archive preference). | user record (for each user's QWK packet format and temp archive preference). | ||
+ | |||
+ | *Note*: | ||
+ | In Synchronet v3.20, the maximum length of configurable file extensions was | ||
+ | increased from 3 to 15 characters. | ||
Since support for the viewing and extraction of several common archive formats | Since support for the viewing and extraction of several common archive formats | ||
Line 69: | Line 73: | ||
file extensions (e.g. " | file extensions (e.g. " | ||
extracted or viewed. | extracted or viewed. | ||
+ | |||
+ | ===== Filenames ===== | ||
+ | Filenames should contain US-ASCII characters only. While some methods of adding files to filebases may support adding filenames | ||
+ | that include CP437 characters, that should be avoided/ | ||
+ | is configurable by the sysop in SCFG-> | ||
+ | |||
+ | ==== Case-insensitivity ==== | ||
+ | The original case (upper/ | ||
+ | (index and header files), however, storage of the same (duplicate) filename, differing | ||
+ | only in case, is intentionally not supported. | ||
===== Large Files ===== | ===== Large Files ===== | ||
Line 97: | Line 111: | ||
of 10 lines or 512 total characters. There is no technical limit to the length | of 10 lines or 512 total characters. There is no technical limit to the length | ||
of extended file descriptions, | of extended file descriptions, | ||
- | description files embedded in archives (e.g. FILE_ID.DIZ) is being imposed. | + | description files embedded in archives (e.g. '' |
===== Batches ===== | ===== Batches ===== | ||
Line 103: | Line 117: | ||
File upload and download batch queues used to be maintained in memory (though | File upload and download batch queues used to be maintained in memory (though | ||
they were written to disk files to be retained between user logons), they are | they were written to disk files to be retained between user logons), they are | ||
- | now entirely maintained in disk files (data/ | + | now entirely maintained in disk files ('' |
file format). This means that custom batch management can now be performed | file format). This means that custom batch management can now be performed | ||
easily by modules or non-Terminal Server scripts. | easily by modules or non-Terminal Server scripts. | ||
Line 137: | Line 151: | ||
===== Tags ===== | ===== Tags ===== | ||
- | Individual files can now be tagged for easy searching/ | + | Individual files can now be tagged |
will be utilized/ | will be utilized/ | ||
Line 150: | Line 164: | ||
The new FileBase JS class is now used to import files directly from FidoNet | The new FileBase JS class is now used to import files directly from FidoNet | ||
- | -style .TIC files (via tickit.js) so no dependency or invocation of any | + | -style |
external utilities (e.g. addfiles) is required. | external utilities (e.g. addfiles) is required. | ||
Line 158: | Line 172: | ||
replaced with similarly named and purposed JavaScript utility scripts to be | replaced with similarly named and purposed JavaScript utility scripts to be | ||
invoked with JSexec or via timed event: | invoked with JSexec or via timed event: | ||
- | - addfiles.js for importing lists of files into filebases | + | * '' |
- | - postfile.js for importing a single file into a filebase | + | * '' |
- | - filelist.js for generating file listings from filebases | + | * '' |
- | - delfiles.js for removing files from filebases | + | * '' |
- | - dupefind.js for detecting/ | + | * '' |
===== Performance ===== | ===== Performance ===== | ||
Line 175: | Line 189: | ||
Due to the removal of support for rendering FTP-downloaded content (e.g. | Due to the removal of support for rendering FTP-downloaded content (e.g. | ||
HTML files) in modern web browsers, the FTP Server no longer supports dynamic | HTML files) in modern web browsers, the FTP Server no longer supports dynamic | ||
- | HTML index file generation (e.g. 00index.html). Instead, we will focus on | + | HTML index file generation (e.g. '' |
better support for filebase browsing and file transfers via HTTP and HTTPS in | better support for filebase browsing and file transfers via HTTP and HTTPS in | ||
addition to the traditional FTP and FTPS uses. The dynamic generation of | addition to the traditional FTP and FTPS uses. The dynamic generation of | ||
- | the ASCII file listings via FTP (e.g. 00index) is still supported by the FTP | + | the ASCII file listings via FTP (e.g. '' |
server, though now much faster than before. | server, though now much faster than before. | ||
===== libarchive ===== | ===== libarchive ===== | ||
- | The libarchive library (http:// | + | The [[http:// |
Synchronet (and exposed via the new " | Synchronet (and exposed via the new " | ||
into SBBSecho so that the creation, listing/ | into SBBSecho so that the creation, listing/ | ||
Line 190: | Line 204: | ||
Formats fully supported: | Formats fully supported: | ||
- | - zip | + | * zip (not all legacy compression formats, e.g. " |
- | - 7zip | + | |
- | - gzipped-tar | + | |
- | - bzipped-tar | + | |
Formats supported for viewing and extraction only: | Formats supported for viewing and extraction only: | ||
- | - rar (original and RAR v5 format) | + | * rar (original and RAR v5 format) |
- | - lha/lzh | + | |
- | - iso | + | |
- | - xar | + | |
- | - cab | + | |
This means that for most BBSes, no " | This means that for most BBSes, no " | ||
Line 207: | Line 221: | ||
command-line need be configured. | command-line need be configured. | ||
- | For listing the contents of archives, the new archive.js utility script may be | + | For listing the contents of archives, the new '' |
installed as a " | installed as a " | ||
- | extensions by running ' | + | extensions by running ' |
a final " | a final " | ||
===== DIZ ===== | ===== DIZ ===== | ||
- | Description files embedded in archives (e.g. FILE_ID.DIZ) are now supported | + | Description files embedded in archives (e.g. '' |
more uniformly and seamlessly. Supported ANSI sequences (e.g. attribute/ | more uniformly and seamlessly. Supported ANSI sequences (e.g. attribute/ | ||
changes) are now converted to Ctrl-A equivalents upon import. Metadata | changes) are now converted to Ctrl-A equivalents upon import. Metadata | ||
Line 225: | Line 239: | ||
"Area Tag" explicitly set for FidoNet-style file distribution networks. If | "Area Tag" explicitly set for FidoNet-style file distribution networks. If | ||
an Area Tag is not explicitly set, then the directory' | an Area Tag is not explicitly set, then the directory' | ||
- | (with spaces replaced with underscores) automatically. tickit.js now uses | + | (with spaces replaced with underscores) automatically. |
this new " | this new " | ||
Line 250: | Line 264: | ||
modern world. Bye bye Bi-modem. :-( | modern world. Bye bye Bi-modem. :-( | ||
+ | ===== User-to-user File Transfers ===== | ||
+ | |||
+ | While user-to-user file transfers **are** supported in the new file base, the " | ||
+ | |||
+ | A quick way to check if this will impact you is to see if you have a non-zero-length '' | ||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: |