forked from qianniancn/go-dmsoft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
file.go
30 lines (28 loc) · 932 Bytes
/
file.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 文件操作可以通过go来实现
package dmsoft
// long CopyFile(src_file,dst_file,over)
// long CreateFolder(folder)
// long DecodeFile(file,pwd)
// long DeleteFile(file)
// long DeleteFolder(folder)
// long DeleteIni(section,key,file)
// long DeleteIniPwd(section,key,file,pwd)
// long DownloadFile(url,save_file,timeout)
// long EncodeFile(file,pwd)
// string EnumIniKey(section,file)
// string EnumIniKeyPwd(section,file,pwd)
// string EnumIniSection(file)
// string EnumIniSectionPwd(file,pwd)
// long GetFileLength(file)
// string GetRealPath(path)
// long IsFileExist(file)
// long IsFolderExist (folder)
// long MoveFile(src_file,dst_file)
// string ReadFile(file)
// string ReadIni(section,key,file)
// string ReadIniPwd(section,key,file,pwd)
// string SelectDirectory()
// string SelectFile()
// long WriteFile(file,content)
// long WriteIni(section,key,value,file)
// long WriteIniPwd(section,key,value,file,pwd)