27d891111f5fe68181b726bd374527a825ddc160
Previously, the get command would create/truncate the local file before starting the download, then delete it on error. This could inadvertently destroy an existing local file if the remote file didn't exist. Now the download completes to memory first, and the local file is only written after a successful transfer. This is safe for TFTP since files are typically small (bootloaders, configs, etc.). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Description
Simple TFTP server/client and library, written by Claude Opus 4.5.
Languages
Rust
100%