I have successfully created a client program that checks for the exisitence of web server log files. If they do or don't exist it sends a message to a server program (suing sockets). What I now need to do is take the size of the file send that to the server, then copy the actual file from the client to the server via TCP. Once at the server the server program will check the size before and after for error checking. I have written this Java program to replace the current DOS and Perl scripts.
What data stream do I use? Do I need a PipedInput connected to a PipedOutput? PLease help as I need to get this finished this week.
To clarify - I need to be able to do a file copy from a client to a server using sockets. I can't use a server application to connect to a remote machine as NetBios is disabled for secuity.