NpsFtp class

NpsFtp used to run ftp command.
The sample code indicate how to download log file from www.jwebstar.com

var ftp = new NpsFtp();
ftp.Connect('www.jwebstar.com',21);
ftp.Login('nps','nps');
ftp.ChangeWorkingDirectory('/pub');
ftp.SetBinary();
ftp.MGet(new NpsFile('/jwebstarlog/'),'jwebstar*.log');
ftp.Disconnect();

top

Method Summary