set root path

This commit is contained in:
dom
2020-07-18 09:25:00 +02:00
parent 1adfc456be
commit 8cf67d00e0

View File

@@ -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
}