in reply to Files copying from source to dest

The error message you receive would be helpful; however, I did notice that in your copy() statement, you have $source/1031/ as your destination, suggesting that you hard-coded the date in originally, and now are failing because $source/$date is being created, but $source/1031 is the destination target.

Hope that helps.

Replies are listed 'Best First'.
Re^2: Files copying from source to dest
by Ma (Novice) on Nov 05, 2013 at 12:19 UTC
    Thank you. I posted the error message.