One final thing to notice (since the immediate problem (crash) seems to be resolved with the above suggestions):
Your error checking logic has to be inverted. Otherwise you end up dying with "Command completed successfully" after a successful download. ;-)
In reply to Re: Win32::API help
by pKai
in thread Win32::API help
by Zukoff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |