上传用FTP来完成,具体的要参考一些资料例子了,
转换成HTML格式的话,可以通过处理文件流的方法呀。以下只是读文件,对tmplist修改(或不修改)后,再tmplist.SaveFromStream
procedure TForm2.SpeedButton1Click(Sender: TObject);
var tmplist:TStringList;
    tmpstream:TFileStream;
begin
  tmplist:=TStringList.Create ;
  if OpenDialog1.Execute then
     begin
     tmpstream:=TFileStream.Create(OpenDialog1.FileName,fmOpenRead);
     tmpstream.Position:=0;
     tmplist.LoadFromStream(tmpstream);
     showmessage(inttostr(tmplist.Count ));
     end;
  tmplist.Free ;
  tmpstream.Free ;
end;