Yes Martin, although it appears as though the files were downloaded, they weren't. I'll add the code and get another log file for you.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
D:\Testafter the script finished? Try adding
lls D:\Testat the end of the script and post a new log file.