On Mon, 22 Oct 2001 20:11:32 +0300, Ville Mattila wrote:
>Hi there,
>
>Referring to one question I sent here over a month ago, I'd like to
>get back with subject:
>I need to copy a image file from the server box to another computer
>in our local network. All computers have WinNT 4.1 on it (also the
>server box PHP & Apache running) expect that file server where the
>file should be copied to (it's Sun Unix etc). But as I told before,
>the copy can be executed fine in Windows Explorer, no problems, but
>when trying to do the copy via PHP it won't success.
>
>I tried the copy also with exec() and passthru() -functions: "cmd /c
>copy file.jpg x:\\path\\destifile.jpg". No error message appear,
>only text "0 files copied" (from Windows itself). If I execute the
>same command from Start->Run, it will success without problems.

try using an absolute path for the first file


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to