From the looks of the man page on scp, you cant use wild cards. What error are you getting? Have you tried just using echo to see what is created, then paste it into a telnet screen.
If its the case that wildcards are now allowed, you might have to read the directory using opendir(), readdir() and closedir().