We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c51aa commit 36a7375Copy full SHA for 36a7375
2 files changed
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## 7.0.1 (2020/08/04)
4
+
5
+* Fix SFTP not taken into account
6
7
## 7.0.0 (2020/07/18)
8
9
:warning: See **Migration notes** in the documentation for breaking changes.
internal/app/ftpgrab.go
@@ -106,7 +106,7 @@ func (fg *FtpGrab) Run() {
106
if fg.cfg.Server.FTP != nil {
107
fg.srv, err = ftp.New(fg.cfg.Server.FTP)
108
fg.jnl.ServerHost = fg.cfg.Server.FTP.Host
109
- } else if fg.cfg.Server.FTP != nil {
+ } else if fg.cfg.Server.SFTP != nil {
110
fg.srv, err = sftp.New(fg.cfg.Server.SFTP)
111
fg.jnl.ServerHost = fg.cfg.Server.SFTP.Host
112
} else {
0 commit comments