n0-computer / sendme

A tool to send files and directories, based on iroh
Other
96 stars 6 forks source link

sendme will happily send a 0 byte file #14

Closed dannyob closed 10 months ago

dannyob commented 10 months ago

Probably should error out under this condition

flub commented 10 months ago

I guess this is a bit opinionated, but I'm kind of find with sending a 0 byte file. It's what you asked for.

It also gets complex when sending a huge directory tree that may contain some 0-size files (think a build directory with some make "touch" files).

rklaehn commented 10 months ago

I'm with @flub here. A 0 byte file is a perfectly valid file. There is nothing wrong with it. 0 byte files are sometimes used as lockfiles or whatever.

b5 commented 10 months ago

closing as won't-fix