When using the jQuery-File-Upload plug-in, you can drag files or folders to upload. When dragging a folder to upload, all files (including hidden files) are uploaded by default, but the requirement is not to upload hidden files. .
For example, there are 6 files in this folder, 3 of which are hidden, but there is no way to distinguish whether they are hidden or not. Is there any way to filter out the hidden files? Thank you~
Traverse the files, files starting with
.
are hidden files.