關於ftp的應用 在delhi中用ftp去連接另外一臺電腦怎樣才能獲得另一臺電腦在fpt文件夾中的所有的文件標題內容 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 procedure TForm1.Button1Click(Sender: TObject);var AFiles: TStringList; AFtp: TIdFtp;begin AFiles := TStringList.Create; AFtp := TIdFtp.Create(self); AFtp.Host := '192.168.1.1'; AFtp.Password := 'test'; AFtp.Username := 'test'; AFtp.Connect(); AFtp.List(AFiles,'*.*',True); Memo1.Lines.Clear; Memo1.Lines.AddStrings(AFiles); AFtp.Disconnect; AFtp.Destroy; AFiles.Destroy;end; 高手进来!! 分布式开发,套间及同步问题 关于TADOStoredProc组件的一个很白痴的问题, 怎样实现在dbgrid控键上选中多条记录 InterBase的varchar问题 请教打印图片的问题?急急!! 怎么在内存画Bmp,在上面写几个字,也就是说将几行字转换成一个bmp?? 怎样动态的使用Tstoredporc 如何做自动收缩的窗体(像QQ)? 组件的Name属性与指向组件的引用名,他们之间是什么关系? 偶的轮胎 自学DELPHI现在工作用.NET\C#
var
AFiles: TStringList;
AFtp: TIdFtp;
begin
AFiles := TStringList.Create;
AFtp := TIdFtp.Create(self);
AFtp.Host := '192.168.1.1';
AFtp.Password := 'test';
AFtp.Username := 'test';
AFtp.Connect();
AFtp.List(AFiles,'*.*',True);
Memo1.Lines.Clear;
Memo1.Lines.AddStrings(AFiles); AFtp.Disconnect;
AFtp.Destroy;
AFiles.Destroy;
end;