代码优化
This commit is contained in:
@@ -29,7 +29,6 @@ class FtpController():
|
||||
logging.info("进入FTP目录 ")
|
||||
self.ftp.cwd(target_dir) # 切换工作路径
|
||||
logging.info('FTP目录:%s' % target_dir)
|
||||
self.ftp.mkd('detection')
|
||||
remotenames = self.ftp.nlst()
|
||||
logging.info('FTP目录文件:%s' % remotenames)
|
||||
for file in remotenames:
|
||||
|
||||
Reference in New Issue
Block a user