Re: Upload file from my local C:
| From: | Augusto Cesar Castoldi | Date: | Mon, 09 Apr 2001 16:08:02 +0000 |
| Subject: | Re: Upload file from my local C: | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47816@lists.php.net to get a copy of this message | ||
what`s the error message now? Can be something like "permission denied"...
You should create a diretory and do "chmod 666 dir_name", than you'll have
the right permission to write in this diretory.
regards,
Augusto
On Tue, 10 Apr 2001, HK Woo wrote:
> I have tried to add ENCTYPE as you suggested. However, it still can't work.
> The file is located in my D:
>
> Any more idea?
>
> Thank You!
>
> HK Woo
> "Michael Hall" <lists@mulga.com.au> wrote in message
>
> news:Pine.LNX.4.10.10104092301270.13809-100000@localhost.localdomain...
> >
> > Is the file on your win machine on C: or D: ? There seems to be some
> > confusion about that. Also, how are you using 'copy' to upload the file?
> > Are you using a form with a 'file' input type and
> > ENCTYPE="multipart/form-data" in the FORM tag, etc?
> >
> > Just some ideas.
> >
> > Mick
> >
> > On Mon, 9 Apr 2001, HK Woo wrote:
> >
> > > Hi, Johnson
> > >
> > > The file is located at my local WIN ME machine. The file is set to R/W
> > >
> > > HK Woo
> > > ""Johnson, Kirk"" <kjohnson@zootweb.com> wrote in message
> > >
> > > news:01A4B59FD1EBD311838100A0C98BE0D9AD58B3@chef.zootweb.com...
> > > > Are the permissions set OK?
> > > >
> > > > Kirk
> > > >
> > > > > -----Original Message-----
> > > > > From: HK Woo [mailto:hkwoo@netvigator.com]
> > > > > Sent: Monday, April 09, 2001 9:01 AM
> > > > > To: php-general@lists.php.net
> > > > > Subject: [PHP] Upload file from my local C:
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > I use a command "copy" to upload a file from my local win machine
> > > > > to
> > > > > webserver. However, it is not successful. It prompts that
> > > > > "Warning: Unable
> > > > > to open 'D:\\PHP\\upload1.php' for reading:". I would like
> > > > > to
> > > > > know what is
> > > > > the problem
> > > > >
> > > > > Thank You!
> > > > >
> > > > > HK Woo
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > PHP General Mailing List (http://www.php.net/)
> > > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > > > For additional commands, e-mail: php-general-help@lists.php.net
> > > > > To contact the list administrators, e-mail:
> > > > > php-list-admin@lists.php.net
> > > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php-general-help@lists.php.net
> > > > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> > > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>