update 11/06-4
This commit is contained in:
parent
5380905fb8
commit
6b2b9fe454
BIN
ftpsClient.exe
BIN
ftpsClient.exe
Binary file not shown.
@ -41,6 +41,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
defer ftp.Close()
|
||||||
log.SetFlags(log.Ldate | log.Ltime)
|
log.SetFlags(log.Ldate | log.Ltime)
|
||||||
log.SetOutput(os.Stdout)
|
log.SetOutput(os.Stdout)
|
||||||
|
|
||||||
@ -77,7 +78,6 @@ func _InitFTP() error {
|
|||||||
log.Printf("[ERR] %s\r\n", err.Error())
|
log.Printf("[ERR] %s\r\n", err.Error())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
defer ftp.Close()
|
|
||||||
|
|
||||||
cfg := tls.Config{
|
cfg := tls.Config{
|
||||||
InsecureSkipVerify: true,
|
InsecureSkipVerify: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user