Correctly parse symlink (#152)

fixes #151
This commit is contained in:
Julian Kornberger
2019-06-24 10:49:00 +02:00
committed by Julien Laffaye
parent 9284a88df5
commit c1312a7102
3 changed files with 42 additions and 5 deletions

9
ftp.go
View File

@@ -59,10 +59,11 @@ type dialOptions struct {
// Entry describes a file and is returned by List().
type Entry struct {
Name string
Type EntryType
Size uint64
Time time.Time
Name string
Target string // target of symbolic link
Type EntryType
Size uint64
Time time.Time
}
// Response represents a data-connection