-
Notifications
You must be signed in to change notification settings - Fork 377
Open
Labels
defectThe code does not work as intendedThe code does not work as intended
Description
Describe the bug
I want to be able to configure the port and passive mode of ftp
To Reproduce
func (p *FTPPool) newConnection() (*ftp.ServerConn, error) {
conn, err := ftp.Dial(p.host, ftp.DialWithTimeout(5*time.Second), ftp.DialWithForceListHidden(true))
if err != nil {
return nil, err
}
err = conn.Login(p.username, p.password)
if err != nil {
return nil, err
}
return conn, nil
}
FTP server
- Name and version: vsftpd 3.0.2
Metadata
Metadata
Assignees
Labels
defectThe code does not work as intendedThe code does not work as intended