File names

8TML > Reference > Publishing API

A name is a path relative to the site’s root, such as index.8tml or games/snail-race.8tml.

  • Segments are made of a–z, 0–9, -, _ and ., separated by /, at most 64 characters in total. These characters need no URL encoding.
  • Every segment starts with a letter or digit, so there is no leading /, no empty segment, no . or .. segment and no hidden file such as .htaccess.
  • Uppercase letters are accepted and stored as lowercase. Endpoints serve names regardless of case, because a machine in uppercase mode sends addresses in uppercase.
  • Folders are created by putting a file into them.
  • An endpoint may accept only some kinds of files and answer others with bad-type.