That looks like you're trying to unlink $some_url, rather than unlink $some_file. I suspect unlink should probably be in getFile(). Please show the code for that subroutine.
-- Ken
In reply to Re: Correct code for deleting old file?
by kcott
in thread Correct code for deleting old file?
by markuswinter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |