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

error in ReadDir: failed parsing LIST entry: in Microsoft FTP Service #43

Open
ooing opened this issue Oct 30, 2019 · 0 comments
Open

Comments

@ooing
Copy link

ooing commented Oct 30, 2019

** It is Microsoft FTP Service**

my code

# the user and  password  is no ture
ftpConfig := goftp.Config{
		User:               "test",
		Password:           "test",
		ConnectionsPerHost: 21,
		Timeout:            10 * time.Second,
		Logger:             os.Stderr,
	}

	client, err := goftp.DialConfig(ftpConfig, "ftp6335015.host107.sanfengyun.cn")
	if err != nil {
		panic(err)
	}

	client.ReadDir("/Web/")

log

goftp: 0.000 #1 opening control connection to [43.226.149.107]:21
goftp: 0.122 #1 sending command USER ftp6335015
goftp: 0.185 #1 got 331-Password required
goftp: 0.185 #1 sending command PASS ******
goftp: 0.246 #1 got 230-User logged in.
goftp: 0.246 #1 sending command FEAT
goftp: 0.308 #1 got 211-Extended features supported:
 LANG EN*
 UTF8
 AUTH TLS;TLS-C;SSL;TLS-P;
 PBSZ
 PROT C;P;
 CCC
 HOST
 SIZE
 MDTM
 REST STREAM
END
goftp: 0.310 #1 sending command EPSV
goftp: 0.371 #1 got 229-Entering Extended Passive Mode (|||56622|)
goftp: 0.371 #1 opening data connection to [43.226.149.107]:56622
goftp: 0.433 #1 sending command MLSD /Web/
goftp: 0.493 #1 got 500-Command not understood.
goftp: 0.493 #1 was ready
goftp: 0.494 #1 sending command EPSV
goftp: 0.555 #1 got 229-Entering Extended Passive Mode (|||56623|)
goftp: 0.556 #1 opening data connection to [43.226.149.107]:56623
goftp: 0.624 #1 sending command LIST /Web/
goftp: 0.687 #1 got 125-Data connection already open; Transfer starting.
goftp: 0.691 error in ReadDir: failed parsing LIST entry: 10-30-19  06:07PM                  133 2.ht

@ooing ooing changed the title error in ReadDir: failed parsing LIST entry: 10-30-19 06:07PM error in ReadDir: failed parsing LIST entry: in Microsoft FTP Service Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant