Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

It's not Streaming and it's not FTP... what is it??

Status
Not open for further replies.

RobPouwelse

Technical User
Nov 19, 2001
77
NL
I need to convert my Database into a Textfile.. That works
I need to have that Textfile on a FTP.. That works
Now i need to do it without having that Textfile on my PC.. ermmm??

what i basicly want is this :

NMFTP.Upload(AssignFile (F,Txt_Aangeboden);Rewrite (F);Table1.First;while not Table1.Eof do begin for i := 0 to (Table1.FieldCount - 2) do begin NewString := Table1.Fields.AsString;Trim(NewString);if i > 0 then OldString := OldString + chr(9) + NewString else OldString := NewString;end;Writeln(F,OldString);Table1.Next ;end;CloseFile (F);end;,'aangeboden.txt');

ofcourse this doesn't work.. :)
Streaming (with Delphi4) won't work either, because it uses a file too.. TFileStream.Create('C:\WINNT\SouthPark.bmp', fmOpenRead);

Is it doable?? (without too much of a hassle, i'm still learning Delphi4, 3 weeks ago i couldn't even make a Database :))

tnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top