7

快速部署WebDAV命令行工具-WebDAV CLI

 2 years ago
source link: http://osp.io/archives/7791
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

快速部署WebDAV命令行工具-WebDAV CLI – 开源派

WebDAV CLI一款开源的WebDAV 服务器工具,基于 Node.js,遵守MIT开源协议。运行命令行工具后,可快速配置部署 WebDAV 服务器,支持TLS/SSL加密证书。

  • 安装:npm install --global webdav-cli
  • 运行:npx webdav-cli [options]

默认自动分配密码(终端上看到,每次运行用户名密码都会更改)。WebDAV URL 为 http://127.0.0.1:1900/

qh_223630.jpg@596w_1l.jpg
其他参数可用-help查看并编辑变量: npx webdav-cli --help
    'usage: webdav-cli [options]',
    '',
    'options:',
    '  --path       文件夹路径 [process.cwd()]',
    '  --host       服务器地址 [127.0.0.1]',
    '  --port       服务器端口 [1900]',
    '  --digest     使用 digest 认证 [basic]',
    '  --username   用户名[random]',
    '  --password   密码 [random]',
    '  --directory  展示所有路径 [false]',
    '  --autoIndex  展示 autoIndex [false]',
    '  --ssl        使用 https [false]',
    '  --sslKey     ssl 密钥路径 [self-signed]',
    '  --sslCert    ssl 证书路径 [self-signed]',
    '  --help       展示此帮助列表',
    '  --version    展示版本.',

源码:https://github.com/svtslv/webdav-cli


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK