| |

VerySource

 Forgot password?
 Register
Search
View: 628|Reply: 3

How to support all suffix attachments. But it ca n’t be executed, but it shows download and save

[Copy link]

2

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-13 15:40:01
| Show all posts |Read mode
Similar to the attachment function of gmail mailbox, everything can be uploaded, but they are downloaded instead of running, except for the server setting permissions. . . What better way is there not. . .
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-1-16 21:18:01
| Show all posts
content type = "application / octet-stream"
Reply

Use magic Report

0

Threads

73

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-1-17 00:45:01
| Show all posts
Response.AddHeader ("Content-Disposition", "attachment; filename ="&Filename);
Reply

Use magic Report

0

Threads

73

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 Invalid IP Address

Post time: 2020-1-17 05:18:01
| Show all posts
Response.ContentType = "application / octet-stream";
Response.AddHeader ("Content-Disposition", "attachment; filename ="&Filename);
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