bee-js icon indicating copy to clipboard operation
bee-js copied to clipboard

Throw error if an entry is too long for the tar archive format used by Bee

Open Cafe137 opened this issue 3 years ago • 1 comments

Swarm-CLI: https://github.com/ethersphere/swarm-cli/issues/250 Bee: https://github.com/ethersphere/bee/issues/2542

  1. Figure out what tar format Bee is using
  2. Check in bee-js if the data to be uploaded contains any invalid entries for that specific tar spec
  3. Throw human friendly error

Cafe137 avatar Oct 04 '21 14:10 Cafe137

Well, honestly I would like to remove usage of Tar for directory upload as you can see in the #416

Unfortunately, it is currently blocked as Bee does not allow nested directory upload using multipart upload as you can see https://github.com/ethersphere/bee/issues/2578

AuHau avatar Oct 06 '21 16:10 AuHau