use: copy("c:/php/uploads/sample.txt", "d:/neweb/ainek/"); Thanks, John Ellingsworth http://mail.med.upenn.edu/~jellings/ AIM: vc2000support -----Original Message----- From: Mark Anderson [mailto:markblaster@xxxxxxxxxxxx] Sent: Thursday, February 19, 2004 8:34 PM To: php-windows@xxxxxxxxxxxxx Subject: copying uploaded files hi list this piece of code isnt working copy("c:\\php\\uploads\\sample.txt", "d:\\neweb\\ainek\\"); can anyone give me a hint? i am running winxp professional with iis5.1 and php 4.3 best regards mark Sent by Medscape Mail: Free Portable E-mail for Professionals on the Move http://www.medscape.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php