RFC3659: add symlink support
This commit is contained in:
parent
79a78d10ee
commit
7240d6ebcf
2
ftp.go
2
ftp.go
@ -332,6 +332,8 @@ func parseRFC3659ListLine(line string) (*Entry, error) {
|
|||||||
e.Type = EntryTypeFolder
|
e.Type = EntryTypeFolder
|
||||||
case "file":
|
case "file":
|
||||||
e.Type = EntryTypeFile
|
e.Type = EntryTypeFile
|
||||||
|
case "OS.unix=symlink":
|
||||||
|
e.Type = EntryTypeLink
|
||||||
}
|
}
|
||||||
case "size":
|
case "size":
|
||||||
e.setSize(value)
|
e.setSize(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user