Hello, It is just a demo how you can do things. It make for example no error checking, no checking on duplicate file names etc. If you want to send files one by one, you just change in the protocol that the server say to the client 'you can send now' (by way of a command). After receiving that command client start transfert.
If you want receive multiple files simultanously from several clients is also possible. You just have to take care that 2 clients not want to upload a file with the same name. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Friday, March 24, 2006, 14:26, [EMAIL PROTECTED] wrote: > Hello > Using RcvFile application provided by Wilfried Mestdagh I had some > error at simultaneous receiving of files. > Details: I lunch srvfile.exe on a machine a put it in listen mode. > After that I launch 2 sndfile.exe (clients) on other 2 machines in the > same lan. If the clients send files one at a time, it works ok, the > server receives all files, no problem. > But if the first client sends a file and the second client sends > another file simultaneously or at short time (the first transfer is > not complete), the server has three behaviours: > 1. works sometimes > 2. receives the first transfer in good parameters but the second > fails (and there are errors displayed in log) > 3. receives the first transfer in good parameters but the second > fails (and there are no errors displayed in log) > I want the server to: > 1. receive files one at a time > 2. put the second (third, 4th, etc) file "on hold" until previous file is > received completely > Is there a method for this ? > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be