Coder Social home page Coder Social logo

hftp's Introduction

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

hftp's People

Contributors

ruanjf avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hftp's Issues

Vulnerability report

We are a group of researchers from Leiden University, and we conduct research on vulnerabilities in open-source software. We have discovered and verified a high-severity vulnerability in your project(ruanjf/hftp). Explaining the vulnerability further in this issue could allow malicious users to access details, so we recommend enabling private vulnerability reporting on GitHub to discuss this matter confidentially.
After you have enabled this feature, please add a comment to this issue so we can continue our discussion. If you have any questions, feel free to leave a reply here or send an email to: j.akhoundali [at] liacs.leidenuniv.nl

status of this project?

Looks like the last commit was in 2013. Is this project still maintained or should it be considered EOL?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.