调用方法 HttpUploadFile(@"http://localhost:8099/Default.aspx", @"E:\工作记录\2017\2017年06月份工作计划.txt")
/// <summary>
/// 将本地文件上传到指定的服务器(HttpWebRequest方法)
/// </summary>
/// <param name="address">文件上传到的服务器</param>
/// <param name="fileNamePath">要上传的本地文件(全路径)</param>
/// <param name="saveName">文件上传后的名称</param>
/// <returns>成功返回1,失败返回0</returns>
private static string HttpUploadFile(string address, string fileNamePath, string saveName = "")
{
int returnValue = 0;
int pos = fileNamePath.LastIndexOf("\\");
if (saveName == "")
saveName = fileNamePat