19 Star 19 Fork 13

kerryjiang / SuperSocket.Ftp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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 FTP Server 展开 收起
C#
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/kerryjiang/SuperSocket.Ftp.git
git@gitee.com:kerryjiang/SuperSocket.Ftp.git
kerryjiang
SuperSocket.Ftp
SuperSocket.Ftp
master

搜索帮助

14c37bed 8189591 565d56ea 8189591