| |

VerySource

 Forgot password?
 Register
Search
Author: yangcenyin

Urgent question about multi-file upload

[Copy link]

0

Threads

8

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 Invalid IP Address

Post time: 2020-4-26 20:30:01
| Show all posts
See if your <form runat = "server"> is anything special? FileUpload will automatically find the only HtmlForm on the page and add an attribute to it, so that the browser knows how to upload the file encoding.

If you add two <form runat = "server"> after adding Master, or other special circumstances, it will cause the client to ignore the file upload.
Reply

Use magic Report

0

Threads

8

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 Invalid IP Address

Post time: 2020-4-26 21:45:02
| Show all posts
If you declare any upload space on the server side, you need to add this attribute to the form yourself:
<form enctype = "multipart / form-data" runat = "server"> </ form>
Reply

Use magic Report

2

Threads

7

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 Invalid IP Address

 Author| Post time: 2020-4-27 16:30:01
| Show all posts
I am dull. If I create multiple file controls on the client like me, can I complete the upload? What should I do? Because the code is exactly the same when the motherboard is not used and the motherboard is used, but I cannot upload it after using the motherboard
Reply

Use magic Report

0

Threads

29

Posts

19.00

Credits

Newbie

Rank: 1

Credits
19.00

 China

Post time: 2020-4-29 00:00:01
| Show all posts
Haha, just upload them one by one╮ (╯﹏╰) ╭
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-4-29 22:15:01
| Show all posts
Add <input file> to runat = server
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list