修复质检接口

This commit is contained in:
jinling.yang
2024-02-23 16:31:56 +08:00
parent bfe7005962
commit 33e88eb9cc
2 changed files with 21 additions and 16 deletions

View File

@@ -44,6 +44,9 @@ class FtpController():
def download_reportfile_tree(self, target_dir, serverdir, reportpath):
try:
logging.info("进入FTP目录 ")
logging.info('FTP目录1:%s' % target_dir)
logging.info('serverdir:%s' % serverdir)
logging.info('reportpath:%s' % reportpath)
self.ftp.cwd(target_dir) # 切换工作路径
logging.info('FTP目录:%s' % target_dir)
remotenames = self.ftp.nlst()