SVN r775
SVN-Revision: r775
This commit is contained in:
@@ -588,11 +588,10 @@ namespace Lskj.Control.Model
|
|||||||
string fileTitle = szName[szName.Length - 1];
|
string fileTitle = szName[szName.Length - 1];
|
||||||
//设置文件存放路径
|
//设置文件存放路径
|
||||||
string DownloadFileDirectory = string.Format("{0}\\{1}", Application.StartupPath, "RightDownloadFile");
|
string DownloadFileDirectory = string.Format("{0}\\{1}", Application.StartupPath, "RightDownloadFile");
|
||||||
if (Directory.Exists(DownloadFileDirectory))
|
if (!Directory.Exists(DownloadFileDirectory))
|
||||||
{
|
{
|
||||||
Directory.Delete(DownloadFileDirectory, true);
|
Directory.CreateDirectory(DownloadFileDirectory);
|
||||||
}
|
}
|
||||||
Directory.CreateDirectory(DownloadFileDirectory);
|
|
||||||
DownloadFileDirectory = string.Format("{0}\\{1}", DownloadFileDirectory, fileTitle);
|
DownloadFileDirectory = string.Format("{0}\\{1}", DownloadFileDirectory, fileTitle);
|
||||||
|
|
||||||
FrmDownload frm = new FrmDownload(url, fileTitle, DownloadFileDirectory, true, false);
|
FrmDownload frm = new FrmDownload(url, fileTitle, DownloadFileDirectory, true, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user