0

Upload directory / folder

asked 2020-04-02 00:33:55 +0800

SpringJun gravatar image SpringJun
1

updated 2020-04-02 02:26:18 +0800

Hello. I need to upload the whole directory.Maybe someone has had such task or know how to solve it.I will be very grateful for your help.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-07 12:09:42 +0800

hawk gravatar image hawk
2620 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2020-04-08 10:17:05 +0800

There is no solution for all browsers, here is an example that works for Chrome and firefox. But IE and some other browsers don't support, check the compatibility at https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory

check the example: https://zkfiddle.org/sample/2pqhehl/4-directory-upload

it adds a custom attribute to allow directory upload. To handle upload, please read https://www.zkoss.org/wiki/ZKDeveloper%27sReference/UIPatterns/FileUploadandDownload

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2020-04-02 00:33:55 +0800

Seen: 9 times

Last updated: Apr 08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More