From e0034459e0a8383c0c7e8f9ac4391b53e992be99 Mon Sep 17 00:00:00 2001 From: ZhelinCheng Date: Wed, 2 Jun 2021 00:05:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/downloader.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/downloader.ts b/src/core/downloader.ts index 3763b13..6d34977 100644 --- a/src/core/downloader.ts +++ b/src/core/downloader.ts @@ -2,8 +2,8 @@ * @Author : Zhelin Cheng * @Date : 2021-02-19 15:16:57 * @LastEditors : Zhelin Cheng - * @LastEditTime : 2021-06-01 15:57:29 - * @FilePath : /bilibili-downloader/src/core/downloader.ts + * @LastEditTime : 2021-06-01 23:50:14 + * @FilePath : \bilibili-downloader\src\core\downloader.ts * @Description : 未添加文件描述 */ @@ -19,6 +19,7 @@ import { outputPath, isFtp } from '../const'; import dayjs from 'dayjs'; const client = new FTP.Client(); +client.ftp.log = logger.info.bind(logger); client.ftp.verbose = true; const baseFtpPath = env.BILIBILI_FTP_PATH || '/Multimedia/Bilibili';