Giter VIP home page Giter VIP logo

supersocket.ftpserver's Introduction

SuperSocket.FtpServer Build Status

=====

SuperSocket FTP Server is a FTP server written in C# language 100% base on SuperSocket.

How to use it?

  1. Place the files of SuperSocket.FtpServer together with the SuperSocket's assemblies:

    • SuperSocket.SocketService.exe
    • SuperSocket.SocketService.exe.config
    • SuperSocket.SocketEngine.dll
    • SuperSocket.SocketBase.dll
    • SuperSocket.Common.dll
    • log4net.dll
    • Config\log4net.config
    • SuperSocket.Ftp.FtpCommon.dll
    • SuperSocket.Ftp.FtpService.dll
  2. FTP server configuration, SuperSocket.SocketService.exe.config

     <?xml version="1.0" encoding="utf-8" ?>
     <configuration>
         <configSections>
           <section name="superSocket" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.SocketEngine"/>
         </configSections>
         <appSettings>
             <add key="ServiceName" value="SuperSocket.FtpServer"/>
         </appSettings>
         <superSocket>
             <servers>
                 <server name="SuperSocketFTP"
                         serverType="SuperSocket.Ftp.FtpService.FtpServer, SuperSocket.Ftp.FtpService"
                         ip="Any" port="21"
                         maxConnectionNumber="100"
                         dataPort="4000-4004"
                         userSetting="Config\FtpUser.xml">
                 </server>
             </servers>
         </superSocket>
     </configuration>
    

    Other configuration attributes:

     externalLocalAddress: ftp external access IP address
     logCommand: whether log each ftp command
    
  3. FTP users configuration, Config\FtpUser.xml

     <?xml version="1.0" encoding="utf-8"?>
     <ArrayOfFtpUser xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     	<FtpUser>
     		<UserName>kerry</UserName>
     		<Password>password</Password>
     		<Root>D:\ftproot</Root>
     	</FtpUser>
     	<FtpUser>
     		<UserName>tony</UserName>
     		<Password>password</Password>
     		<Root>D:\ftproot\tony</Root>
     	</FtpUser>
     </ArrayOfFtpUser>
    
  4. Start the FTP server

    • Run the server directly: SuperSocket.SocketService.exe -r
    • Install the server as windows service: SuperSocket.SocketService.exe -i

You can find more guide from the documents of SuperSocket: http://docs.supersocket.net/v1-6/en-US/Start-SuperSocket-by-Configuration

supersocket.ftpserver's People

Contributors

kerryjiang avatar

Watchers

 avatar

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.