diff --git a/ftpActions.go b/ftpActions.go index 538f53f..cec0594 100644 --- a/ftpActions.go +++ b/ftpActions.go @@ -25,7 +25,7 @@ func DownloadFTP(user string, password string, path string) error { //c.ChangeDir("desiredDir") - files, err := c.List("") + files, err := c.List("/") if err != nil { return err }