I can read and write to a file. Now I just need to take the file and send it from a client to a host. Here is my question. It's little derpy but BEAR though this.
Here is my write to file function
function ServerCmdwriteToFile(%filename, %content)
{
%outFileHandle = new FileObject() ;
%outFileHandle.openForWrite(%filename) ;
%outFileHandle.writeLine(%content) ;
%outFileHandle.close() ;
%outFileHandle.delete() ;
}
My question is that if I the client side I call commandToServer("ServerCmdwriteToFile","my doc.txt","I can speak");
will that write the file on the Clients host computer or the Servers host computer?
Thanks,
Rarw