File copy over a network
Posted: Wed Sep 02, 2009 8:45 am
Hi, i'm having a hard time trying to copy a file from a server to a client, both boxes are Windows XP, the server is running xampp 1.7.0. What i've done so far is share a folder in the client and connect to it as unit "F:" in the server. I can enter in command box and the line: works great, returns "1 file copied". but the lines: and: in my PHP code returns "0 files copied".
I already tried the PHP function:, wich tells me that it can't find the file or directory "F:/".
Any help will be apreciated. Thanks.
Code: Select all
copy C:/xxx F:/xxxCode: Select all
exec(copy C:/xxx F:/xxx)Code: Select all
shell_exec(copy C:/xxx F:/xxx)I already tried the PHP function:
Code: Select all
copy(C:/xxx,F:/xxx)Any help will be apreciated. Thanks.