fileSendCommand - rsanchez-wsu/jfiles GitHub Wiki
Scope: public
Return: void
- @param String filepath - the path to the file that the client is sending
- @param Socket sock - the socket object that contains the active server connection.
In a manner similar to the client's fileCommand method, fileSendCommand writes a command and the file path to the server in order to tell the server to prepare to receive content from the client. Afterwards, the fileSendCommand writes the lines from the file specified by filepath to the server along with an associated checksum.