From dbcafe039587877f6c3315b6564075a8a69a7b50 Mon Sep 17 00:00:00 2001 From: yanfqidong0604 Date: Fri, 28 Dec 2018 17:40:52 +0800 Subject: [PATCH] Solving the problem of active and passive mode of FTP server QiDong Yang --- .../src/main/scala/cn/piflow/bundle/ftp/LoadFromFtpToHDFS.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/piflow-bundle/src/main/scala/cn/piflow/bundle/ftp/LoadFromFtpToHDFS.scala b/piflow-bundle/src/main/scala/cn/piflow/bundle/ftp/LoadFromFtpToHDFS.scala index fccd4b9..96077a7 100644 --- a/piflow-bundle/src/main/scala/cn/piflow/bundle/ftp/LoadFromFtpToHDFS.scala +++ b/piflow-bundle/src/main/scala/cn/piflow/bundle/ftp/LoadFromFtpToHDFS.scala @@ -92,7 +92,6 @@ class LoadFromFtpToHDFS extends ConfigurableStop { throw new Exception("File path error") } - }else{ downFile(ftp,ftpFile,HDFSPath) }