Re: Copying file to a network drive (in WinNT4)
| From: | Ville Mattila | Date: | Thu, 27 Sep 2001 18:10:16 +0000 |
| Subject: | Re: Copying file to a network drive (in WinNT4) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69032@lists.php.net to get a copy of this message | ||
> I haven't used PHP on NT, but would expect copy to work. You might first
> confirm that the values of $dest and $src are as you expect them to be.
Yes they are, I have checked.
> Also, make sure that you have permission to create/modify the $dest file.
Should be, because I can copy the file via "normal way" in Windows....
> Trapping errors never hurts either.
There is, but I copied only some clips from whole code to the message. ;)
> I notice that the JPG in your error message is different from the name you
> said is causing the problem, "punatalo".
Yep, I noticed it too. I translated all variable values to English from Finnish. But I forgot that.
punatalo is anyway same as redhouse ;)
> Also, is line 14 of your PHP
> script the copy($src, $dest); line? Or some other line?
Yes, line 14 is the copy()-line.
Cheers,
- Ville