asp.net - Selecting multiple files to upload based on first selecting (same name, different extensions) -


as stands, have input field select file upload. it's filtered show 1 extension. that's fine. there's 3 files exact same filename (exception being extension) want upload

i want user select .txt file, want other 3 uploaded well.

example.txt, example.png, example.htc, example.gif

my current train of thought make 3 more upload fields, set them display: none , use jquery filename visible upload field. bad idea?

as turns out, browsers won't let happen security reasons. let's if had file banking information in same folder uploaded image. it's security issue since user unaware have selected file uploaded.

i ended using plupload, shift + clicking isn't big of hassle end user.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -