FluentFTP 추가

This commit is contained in:
2018-01-02 01:12:03 +09:00
parent ff43fbd1f4
commit 663d2977ed
30 changed files with 19114 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -313,6 +314,16 @@ namespace AutoSellerNS
{
btSell.Primary = !btSell.Primary;
m_bSell = (btSell.Primary == false);
if(m_bSell == true)
{
FileTransfer ft = new FileTransfer();
string today = DateTime.Now.ToString("yyyy-MM-dd");
string macAddr = NetworkInterface.GetAllNetworkInterfaces()[0].GetPhysicalAddress().ToString();
ft.SendDir("/configure", macAddr + "/AutoSeller/" + today);
//ft.SendDir("/log", macAddr + "/AutoSeller");
//ft.SendDir("/simulation", macAddr + "/AutoSeller");
}
}
public bool IsSelling()