File::copy does copy, it re-writes the file, you need to move it. so when the the pointer is placed the file is already there.
Well from File::Copy man page, about the move() function:
"If possible, move() will simply rename the file."
I thought it was the case on Linux, but I'll probably change to system(mv ...) just to be sure.
Thanks for all the replies. Jean-Denis
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
