Since this function halts execution it would be nice to call it with a callback function in order to receive progress information etc.
eg.
SendNetworkFile(connectionID, "myfile", @callBack())
Procedure callBack(progress)
; do something with progress info.
EndProcedure