Example demonstates how to upload directory structure info to the server and files date creation, modified, accessed. This allows to recrete directory structure at server side.
Upload with selected folder structure.
The file uploader doesn’t work? See here what you need for its proper work.