Re: Uploading a directory via browser w/ php
| From: | Peter Dotinga | Date: | Wed, 11 Dec 2002 12:41:09 +0000 |
| Subject: | Re: Uploading a directory via browser w/ php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127796@lists.php.net to get a copy of this message | ||
Föíö Öxî‰êójînyóon wrote:
Hi I’m wondering if any body has done somthing like uploading a whole directory trough webbrowser using php, or has any Ideas how such a thing can be done, any Ideas appriciated. A serverside-only solution isn't possible. On the clientside, a piece of software (eg. java-applet) has to be run to select all the files i a directory and somehow move them towards the server.You could zip the directory to be uploaded into 1 single file, upload it and use php to unzip. For moving large amounts of files around i suggest you use a file-transfer protocol such as ftp or scp. Regards, Peter