Re: upload directory
| From: | Nick Eby | Date: | Mon, 14 Oct 2002 23:55:48 +0000 |
| Subject: | Re: upload directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119968@lists.php.net to get a copy of this message | ||
"Jennifer Swofford" <jen@littleduck.com> wrote:
>Is there an easy way to upload an entire directory? Rather than selecting
the 19 files in a directory, to just select the directory, and have all its
contents go with it? (Or even a not-such-an easy way?)
Since uploading a file to your webserver requires the file data be sent as
part of the request; and since the html file-upload widget only accepts one
file at a time... there's no broad-stroke solution to that problem.
Compounded by the fact that you can't read your client's hard drive. imho,
your options are few... a) a single page with many file-upload widgets, or
b) many pages each with one or a few file-upload widgets.