mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
37 lines
656 B
C#
37 lines
656 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Configuration;
|
|
|
|
namespace ShadowEditor.Server.Remote
|
|
{
|
|
/// <summary>
|
|
/// FTP服务器
|
|
/// </summary>
|
|
public class FTPServer
|
|
{
|
|
private int port = 2121;
|
|
|
|
public FTPServer()
|
|
{
|
|
var sport = ConfigurationManager.AppSettings["FTPServerPort"];
|
|
if (int.TryParse(sport, out int iport))
|
|
{
|
|
this.port = iport;
|
|
}
|
|
}
|
|
|
|
public void Start()
|
|
{
|
|
|
|
}
|
|
|
|
public void Stop()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|