Don't ignore errors
Brought to you by:
rumpeltux
When a broken symlink is encountered by wput, it displays
"Warning: Error encountered but ignored during stat of xxx"
and indeed, the code returned by wput is 0, which is heavily misleading. It prevented our scripts to know that the transfer was failed.
Please, errors are not meant to be ignored, but reported to the user/caller