Model [.CS] [HttpPost] public int WebUplaodFile() { var upfile = Request.Files["myFile"]; ; if (upfile != null) { new ImgService().ImgMarkImg(Server.MapPath("~/Image"), upfile); } return 1; } Service [.CS] public void ImgMarkImg(string spath, HttpPostedFileBase myfile) { //浮水印檔案路徑 string MarkImgPath = spath + "/imgmark.png"; //暫存檔路徑 ...