@weaver it doesnt actually download the page and try changing your opendir() and filesize() file paths