Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/yunify/qsftp

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/yunify/qsftp

  • v0.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

qsftpd

Build Status Go Report Card License

A FTP server that persists all data to QingStor Object Storage.

Usage

$ qsftpd --help
A FTP server that persists all data to QingStor Object Storage.

Usage:
  qsftpd [flags]

Flags:
  -c, --config string   Specify config file (default "qsftpd.yaml")
  -h, --help            help for qsftpd
  -v, --version         Show version

Create configuration

Here's an example config file named qsftpd.yaml.example in the project root directory, copy it to qsftpd.yaml and change the settings.

Run qsftpd

Run the FTP server.

$ qsftpd -c path/to/your/config.yaml
[2017-04-12T03:24:40.541Z #2527]  INFO -- : Listening... 127.0.0.1:21
[2017-04-12T03:24:40.541Z #2527]  INFO -- : Starting...
[2017-04-12T03:24:49.330Z #2527]  INFO -- : FTP Client connected: ftp.connected, id: 76e209d6a89448279e947a7babe0097d, RemoteAddr: 127.0.0.1:51788, Total: 1
......

Note: When you upload large files, please set the timeout time of FTP client long enough to avoid connection disruption.

Not Supported Commands

Currently, the commands listed below are not supported. You can submit issue to request new features.

CommandDescription
ABORAbort
ACCTAccount
ADATAuthentication / Security Data
CCCClear Command Channel
CONFConfidentiality Protected Command
ENCPrivacy Protected Command
EPRTExtended Port
HELPHelp
LANGLanguage (for Server Messages)
MICIntegrity Protected Command
MLSDList Directory (for machine)
MLSTList Single Object
MODETransfer Mode
REINReinitialize
SMNTStructure Mount
STOUStore Unique
STRUFile Structure

Note: All FTP commands can be found here (https://tools.ietf.org/html/rfc5797).

References

Statement

This project is highly inspired by fclairamb/ftpserver which is a fork of andrewarrow/paradise_ftp.

Thanks to Andrew Arrow and Florent Clairambault, and the original license can be found here.

LICENSE

The Apache License (Version 2.0, January 2004).

FAQs

Package last updated on 10 May 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc