Errorlevel exit code bug
Brought to you by:
rumpeltux
If wput tries to connect to a dead server to upload something, it will exit with a code of 0 (nothing to do). I believe this should be a code 2 (remote error) as I was having trouble in a batch file and I got a 0 code.
To reproduce the error, try it with a random ip as a destination.
Same problem here