daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Response.ContentType = "application/octet-stream";
  2.     Response.AddHeader("Content-Disposition", string.Format("attachment; filename="{0}"", fileName));
  3.     Response.WriteFile(filePath + fileName);
  4.     Response.Flush();
  5.     Response.End();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top