You should consider changing your system statements from
system "mkdir $Dir";
to
system "mkdir $Dir" or die "mkdir of '$Dir' failed: $?";
Anything could be the cause: permission restrictions, ill-constructed director names...
Have you stepped through your program in the debugger?
Which of your print statements get executed?
In reply to Re: download a file from a web
by apl
in thread SOLVED:download a file from a web
by paola82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |