Warrior, please help me to look at, I use NMFTP1 implementation file upload, is not successful, where is the problem of le
NMFTP1 - & gt; The Host="127.0.0.1";//FTP address
NMFTP1 - & gt; Password="zbank";//password
NMFTP1 - & gt; Port=21;
NMFTP1 - & gt; TimeOut=8000;//port
NMFTP1 - & gt; UserID="zbank";//user name
NMFTP1 - & gt; The Connect ().//connect FTP
Bool IsConnected=NMFTP1 - & gt; Connected;
If IsConnected ()
{
//NMFTP1 - & gt; ChangeDir (RemoteDir);//change on the FTP directory
NMFTP1 - & gt; Mode (MODE_IMAGE);
NMFTP1 - & gt; SendFile (" d: \ \ yy. TXT ");
StatusBar2 - & gt; Panels - & gt; The Items [0] - & gt; Text=TimeToStr (Time ()) + "FTP upload success";
}
The else
StatusBar2 - & gt; Panels - & gt; The Items [0] - & gt; Text="FTP connection failure";
NMFTP1 - & gt; Disconnect ();//disconnected