Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AYANGt opened this issue Feb 2, 2024 · 0 comments
Open

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

AYANGt opened this issue Feb 2, 2024 · 0 comments
Labels
defect The code does not work as intended

Comments

@AYANGt
Copy link

AYANGt commented Feb 2, 2024

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 AYANGt added the defect The code does not work as intended label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect The code does not work as intended
Projects
None yet
Development

No branches or pull requests

1 participant