Giter Club home page Giter Club logo

ftpserver's Introduction

FtpServer

This repository consists of two projects: the library and the server. The library is an FTP library supporting .NET Standard 1.4 and .NET Standard 2.1. The server is an FTP server written on .NET Core 3.0.

Library

The FTP server library supports .NET Standard 1.4 and .NET Standard 2.1. It can be used in .NET Core and UWP projects. It supports customized authenticator, file provider, and data connection provider.

Readme of Library project

Server

The server is a simple FTP server that utilizes the library. It can be used to test the library, reference as an example, or host a FTP server.

Readme of Server project

ftpserver's People

Contributors

taoyouh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ftpserver's Issues

FTPS Contribution

I would like contribute to this project. I have create a branch of your FTPS branch I would like to push but the repository permissions don't allow it.

SSLStream is not shut down

SSL stream needs to be shut down before closing the TCP connection. If the SSL stream is not shut down properly, some FTP clients such as FileZilla will throw errors and can not receive the file properly.

utf-8 encoding includes BOM to responses

When for example executing the NLIST command the client receives BOM (0xef 0xbb 0xbf) in front of the received file list
This is in my case interpreted as unicode 0xfeff ('ZERO WIDTH NO-BREAK SPACE').
Resolution would be to use new UTF8Encoding(encoderShouldEmitUTF8Identifier: false) on server side
instead of Encoding.UTF8.

sftp on rasberry

Hello taoyouh,

I'm trying to connect with a sftp client on a rasberry pi.
The last command i get from it is this:

SSH-2.0-OpenSSH_7.9p1 Raspbian-10+deb10u2
and after that te server waits at the:
var byteCount = await stream.ReadAsync(readByteBuffer, readOffset, readByteBuffer.Length - readOffset);

is the sftp client working with an different protocol?
this is my command: sftp -oPort=21 [email protected]

Filezilla on my local computer is working fine.

regards Barto

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.