Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
556 views
in Technique[技术] by (71.8m points)

javascript - HTML文件输入-如何允许文件和目录?(HTML File Input - How do I allow files and directories?)

I currently have the following:

(我目前有以下内容:)

<input id="file-upload-input" type="file" multiple="" webkitdirectory="webkitDirectory">

This works great for uploading directories, but I can no longer select individual files.

(这对于上载目录非常有用,但是我不能再选择单个文件。)

Is there no way to support uploading files and directories?

(没有办法支持上传文件和目录吗?)

  ask by darkfrog translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...