Thanx , that demo helped alot ! Another question though , I now receive the file back from the server and well in a String buffer.
How would I go about writing the file to the harddrive on the client side. Would I use the write methods of the TFileStream class ? What would be the best way to handle this.
http://www.tietovayla.fi/BORLAND/delphi/FILES/fileserv.zip
You will find more description under Delphi 3.0, demo #12 at:
http://www.tietovayla.fi/BORLAND/delphi/d_files.htm
Emad