[Toybox] Fix ftpget tool get command exit with error code 1

Rob Landley rob at landley.net
Tue May 20 12:05:03 PDT 2025


On 5/19/25 14:19, Rob Landley wrote:
> You didn't give me a reproduction sequence, so I used busybox's ftp 
> server:

Speaking of which, now that an actual ftp user has shown up: should I 
add an ftp server to toybox?

The reason I didn't add an ftp server to toybox already is that ftp 
seems to be generally deprecated:

https://blog.mozilla.org/security/2021/07/20/stopping-ftp-support-in-firefox-90/

https://bugs.documentfoundation.org/show_bug.cgi?id=146386

But if there are still users out there, ftp is an easy way to move files 
between VMs within a LAN, and having clients without a server is a bit 
awkward. Right now ftpget and ftpput can't talk to each other, which is 
kinda sad, and even if they could ftpget -l needs an actual server to 
list files...

(There's also tftp/tftpd in pending, but that's not really designed to 
upload stuff, can't list files, is UDP based... A lot of times I build 
dropbear and do scp/ssh but I'm not currently planning to build those 
into toybox (out of scope, dropbear works fine.)

Rob


More information about the Toybox mailing list