hftp

0.0.6 • Public • Published

hftp

a simple static http or ftp server

简易的http、ftp静态服务器

npm install -g hftp 安装(setup),使用到nodejs

hftp [port] [tpye] [dir]

  • 用法

  • port 指定服务的端口,默认值 8888

  • type 指定服务的类型(http、ftp),默认值 ftp

  • dir 指定服务的文件夹(绝对路径),默认值 当前目录

  • Usage

  • port service port, default 8888

  • type service type (http、ftp), default ftp

  • dir service folder (Absolute path), default current dir

  • 用例 EXAMPLES

  • hftp 8888 http d:\tt 使用http服务,服务端口8888,工作目录d:\tt

  • hftp 8888 http 默认使用当前目录

  • hftp 8888 默认使用当前目录、ftp服务

  • hftp 默认使用当前目录、ftp服务、8888端口

  • 测试 TEST

node lib/static_server.js 88 http

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    8
    • latest

Version History

Package Sidebar

Install

npm i hftp

Weekly Downloads

13

Version

0.0.6

License

none

Last publish

Collaborators

  • ruanjf