通过质检接口的质检文件路径获取

This commit is contained in:
jinling.yang
2024-02-23 15:29:21 +08:00
parent f015cbb9fd
commit 2e62915b41
4 changed files with 54 additions and 16 deletions

View File

@@ -29,6 +29,7 @@ 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: