thanks Anders
i found a dll:
Download link:
https://www.limilabs.com/static/ftp/Ftp.zip
Sample of code C#
HTML Code:
using (Ftp client = new Ftp())
{
client.Connect("ftp.example.org");
client.Login("user", "password");
client.CreateFolder("reports");
client.Rename("reports", "reports 2010");
client.DeleteFolder("reports 2010");
client.Close();
}
now i want know is possible use from dll in nsis?
i try this parameters but not work:
HTML Code:
Section
InitPluginsDir
SetOutPath "$pluginsdir"
File "DLL\Ftp.dll"
System::Call "Ftp::Connect('$FTP_Root_Address')"
System::Call "Ftp::Login('$FTP_Root_UserName', '$FTP_Root_PassWord')"
System::Call "Ftp::CreateFolder('reports')"
SectionEnd