# sftp **Repository Path**: teenth/sftp ## Basic Information - **Project Name**: sftp - **Description**: node sftp上传工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 文件上传工具 一个简单的sftp文件工具 读取`sftp.yaml`文件配置 # 安装 npm install sftp --save-dev ```json # 用户名 username: "xxxxx" # 密码 password: "xxxxxx" # 远程主机地址 host: "xxxxxx" # 本地文件夹 为空是当前目录 localePath: "" # 服务器地址 remotePath: "xxxxxx" # 忽略上传的文件 ignore: "'\.git|\/node_modules'" ```