dutchcoders / goftp

Golang FTP library with Walk support.
MIT License
278 stars 99 forks source link

cannot support ipv6 #51

Open caigui opened 2 years ago

caigui commented 2 years ago

In the file ftp.go. The function newConnection "addr := fmt.Sprintf("%s:%d", strings.Split(ftp.addr, ":")[0], port)" cannot support ipv6.