diff --git a/drivers/ftp/util.go b/drivers/ftp/util.go index 4169e9fd..64660542 100644 --- a/drivers/ftp/util.go +++ b/drivers/ftp/util.go @@ -19,5 +19,6 @@ func (d *FTP) login() error { if err != nil { return err } + d.conn = conn return nil }