ftp icon indicating copy to clipboard operation
ftp copied to clipboard

Custom add local address, upload file shows that addr has been used

Open AYANGt opened this issue 1 year ago • 0 comments

Describe the bug

when Custom add local address, upload file shows that addr has been used To Reproduce

netAddr ,_ := net.ResolveTCPAddr("tcp","1.1.1.1:12345")
dialer := net.Dailer{
LocalAddr: netAddr
}
c,_ := ftp.Dial("1.1.1.2:21",ftp.DialWithDialer(dialer))
c.Login()
c.MakeDir()
c.Stor -->dial tcp xxxxxx->xxxxx: bind: address already in use

AYANGt avatar Feb 02 '24 08:02 AYANGt