Send file in the LAN lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Szymad · 2010-12-06 20:20 Hi, I want send file to another computer using lazarus. How should my program do:  1. Can send files from e.g. H:\ to \\ANOTHER_COMPUTER\PUBLIC_FOLDER1 or to 192.161.1.102  2. Chceck avaible computers in LAN  3. Enable Sharing selected folder eg. ShareDirectory(C:\SD) should enable this network location: \\My_PC\SD I need the progress of file. ---------------------------------------------------------------------- Marc · 2010-12-27 19:17 if it is windows only, have a look at MSDN CopyFileEx ---------------------------------------------------------------------- TAUFIQ · 2011-01-21 13:04 Hello all, Can help me how to send data from LAN Port and read data from LAN Port in lazarus??? Thanks... ---------------------------------------------------------------------- Marc · 2011-01-21 13:19 What do you mean by send data from a LAN port ? Do you mean on filesystem level (as asked in this thread) or on socket level ? ---------------------------------------------------------------------- michaelthuma · 2011-01-21 13:31 I think taufiq wants to do sthg. like ftp just without a server. Finally this is solved by the filesystem and/or file transfer protocol. ---------------------------------------------------------------------- liewald · 2011-01-21 13:41 Sounds like a job for  INDY  to me! ---------------------------------------------------------------------- xenblaise · 2011-01-21 17:56 copyfile('C:\SD\progressfile.dat', '\\ANOTHER_COMPUTER\PUBLIC_FOLDER1\progressfile.dat');