you are viewing a single comment's thread
view the rest of the comments
[–] 94 points 1 year ago (7 children)

Broke: file names have a max character length.

Woke: split b64-encoded data into numbered parts and add .part-1..n suffix to each file name.

  • source
  • hideshow 7 child comments
  • [–] 16 points 1 year ago (4 children)

    each file is minimum 4kb

    (base64.length/max_character) * min_filesize < actual_file_size

    For this to pay off

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 1 year ago (2 children)

    each file is minimum 4kb

    $ touch empty_file
    $ ls -l
    total 8
    -rw-rw-r-- 1 user group 0 may 14 20:13 empty_file
    $ wc -c empty_file 
    0 empty_file
    

    Huh?

  • source
  • parent
  • hideshow 2 child comments