Project 5: CopyBytes and RemoteCopyBytes

CopyBytes

Starting from CountBytes.java, write a program that takes two command line arguments and creats a copy of the first named file as a the second named file.

RemoteCopyClient/Server

Copy across the network using syntax RemoteCopyClient file@host file or RemoteCopyClient file file@host. A server must be running on port 2234 on remote host. RemoteCopyServer waits on server machine for connects. First line of dialog from client to server is the letter P or G, for Put or Get, immediately followed by the filename. Server respons OK and the transfer continues.