Socket
Socket
Sign inDemoInstall

hftp

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hftp

a simple static http or ftp server.


Version published
Weekly downloads
9
decreased by-10%
Maintainers
1
Install size
71.2 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 09 Nov 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc