Re: How upload files to protected directories?
| From: | Mig | Date: | Thu, 15 Mar 2001 02:26:37 +0000 |
| Subject: | Re: How upload files to protected directories? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43949@lists.php.net to get a copy of this message | ||
Keith Vance wrote:
> You should be able to do something using PHP, try looking here,
> http://www.php.net/manual/cs/features.file-upload.php
> I think there is just a communication problem between you and your hosting
> company. They don't allow ftp uploads, but as long as you are doing it
> through http, it should work fine. There is also some good stuff about
> this on http://www.phpbuilder.com. I do it all the time and my
> hosting
> company couldn't care less, but your's may be different and you may have
> to switch or should switch to someone else if you can't get the http
> upload to work.
>
> Keith
Hello Keith, thanks very much. Sorry because I forgot explain following: picture files really are
uploaded to host server, because I check temp file and they are ok (I check $userfile_temp
variable). My problem is: I can't move, copy, rename or anything else other than 'open and
read' this file. Whenever I try exec copy commands I receive 'copy command denied for
/web/.....'.
You know temp files will be deleted when script terminates, so I die with my pictures in hand.
Thanks again
Mig