..
This commit is contained in:
		| @@ -13,7 +13,7 @@ namespace FCOMMON | ||||
|     { | ||||
|         string homePath = string.Empty; | ||||
|         string curPath = string.Empty; | ||||
|         arUtil.FTPClient ftp; | ||||
|         arUtil.FTPClient.FTPClient ftp; | ||||
|         string fn = "ftpExplorer.ini"; | ||||
|         public fFTPExplorer(string title,string path,string ip,string id,string pw,int port=21,Boolean passvie=true) | ||||
|         { | ||||
| @@ -29,7 +29,7 @@ namespace FCOMMON | ||||
|                     btQuery.PerformClick(); | ||||
|             }; | ||||
|             this.FormClosed += __Closed; | ||||
|             ftp = new arUtil.FTPClient(ip, id, pw, port, passvie); | ||||
|             ftp = new arUtil.FTPClient.FTPClient(ip, id, pw, port, passvie); | ||||
|             curPath = path; | ||||
|             homePath = path; | ||||
|  | ||||
| @@ -110,7 +110,7 @@ namespace FCOMMON | ||||
|             { | ||||
|                 System.IO.FileInfo fi = new System.IO.FileInfo(fileName); | ||||
|                 string remote = tbpath.Text      + "/" + fi.Name; | ||||
|                 ftp.upload(remote, fi.FullName); | ||||
|                 ftp.Upload(remote, fi.FullName); | ||||
|             } | ||||
|             btQuery.PerformClick(); | ||||
|         } | ||||
| @@ -179,7 +179,7 @@ namespace FCOMMON | ||||
|                 lv.SubItems.Add(item.FileType.ToString()); | ||||
|                 lv.SubItems.Add(item.Size.ToString()); | ||||
|                 lv.SubItems.Add(item.FileDateTime.ToString()); | ||||
|                 if (item.FileType == arUtil.FTPfileInfo.DirectoryEntryTypes.Directory) lv.ForeColor = Color.Blue; | ||||
|                 if (item.FileType ==  arUtil.FTPClient.FTPfileInfo.DirectoryEntryTypes.Directory) lv.ForeColor = Color.Blue; | ||||
|             } | ||||
|         } | ||||
|  | ||||
| @@ -195,7 +195,7 @@ namespace FCOMMON | ||||
|             //이파일을 현재 위치에 업로드 한다. | ||||
|             System.IO.FileInfo fi = new System.IO.FileInfo(od.FileName); | ||||
|             string newfile = ftp.PathFileCombine(curPath, fi.Name); | ||||
|             if (!ftp.upload(newfile, od.FileName)) | ||||
|             if (!ftp.Upload(newfile, od.FileName)) | ||||
|                 Util.MsgE("upload error"); | ||||
|             search(curPath); | ||||
|         } | ||||
| @@ -218,10 +218,9 @@ namespace FCOMMON | ||||
|              | ||||
|             System.IO.FileInfo fi = new System.IO.FileInfo(od.FileName); | ||||
|             string newfile = ftp.PathFileCombine(curPath, fi.Name); | ||||
|             if (!ftp.download(remotefile,od.FileName)) | ||||
|             if (!ftp.Download(remotefile,od.FileName)) | ||||
|                 Util.MsgE("Download error"); | ||||
|             search(curPath); | ||||
|         } | ||||
|  | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim