Posted by Juha Suni on 12/16/05 17:12
> Is it possible to upload a complete folder including the subfolders
> using PHP ?
The upload functionality (the file input element) in current browsers does
not support this. Therefore it is not possible with a serverside techology.
You can not even try to automate it with DHTML autofilled file input fields
either since the element is write protected for obvious security reasons.
You would need more than a little clientside (Java) coding to accomplish
something like that.
I'd recommend teaching users to zip their folders (which is easy with a
right click on Win) and then upload them. You could then automate the
unzipping process of the folder(s) on the server.
HTH
--
Suni
Navigation:
[Reply to this message]
|