3 ms·
Nice work. Large files could become a problem, since any request causes the file to be deleted. There is no chance to retry. But, this is the most secure way
by jweir 11y ago
Nice work.
Large files could become a problem, since any request causes the file to be deleted. There is no chance to retry. But, this is the most secure way handle file deletion.
You could offer an option that would delete the file after X% of bytes are downloaded.
I have been working a simple server to do just this, I am calling it a nonce file server. I have been coming across times when I need to deliver a file once, and only once.