FluentFTP 추가
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user