Re: Copying to network drive (Win32)

From: Date: Mon, 22 Oct 2001 19:24:08 +0000
Subject: Re: Copying to network drive (Win32)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71863@lists.php.net to get a copy of this message
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

« previous php.general (#71863) next »