🚀 修订版本.

This commit is contained in:
lijiahang
2024-02-27 15:20:40 +08:00
parent b488bb326d
commit dcded9645c
10 changed files with 14 additions and 11 deletions

View File

@@ -2,7 +2,8 @@ import type { ISftpTransferUploader, SftpTransferItem } from '../types/terminal.
import { TransferOperatorType, TransferStatus } from '../types/terminal.const';
import { getPath } from '@/utils/file';
export const BLOCK_SIZE = 1024 * 1024;
// 512 KB
export const BLOCK_SIZE = 512 * 1024;
// sftp 上传器实现
export default class SftpTransferUploader implements ISftpTransferUploader {