In this case, I'd use binary transfer, ie read 8192-byte chunks from the file to a &binvar with /bread, then /sockwrite that &binvar. There are plenty of example scripts of this kind around (I'd imagine
#helpdesk's website has something relative), including some on these boards (a Search would probably reveal them).