n0-computer / sendme

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

sendme will overwrite files on receiving site without warning #15

Closed dannyob closed 10 months ago

dannyob commented 10 months ago

So if you send .ssh/authorizedkeys, it will overwrite that in file locally when they get the file. Should probably warn or prompt or abort (wormhole aborts).

b5 commented 10 months ago

yes, this should be fixed. Thankfully @rklaehn coded up partial transfers to write to a hidden .sendme-get-$HASH directory in the PWD, so we don't need to worry about failed transfers generating false-positives on overwrite checks

rklaehn commented 10 months ago

we now refuse to overwrite.

the nice thing is that if you got something in the way and remove it, the download will not be done again.