tcp.writeFileToStream

Syntax tcp.writeFileToStream (stream, f, prefix="", suffix="")

Params stream is a stream reference returned by tcp.openStream.

f is the path to a file on disk.

prefix is an optional string, defaulting to the empty string.

suffix is an optional string, defaulting to the empty string.

Action Sends the prefix string, the content of the specified file, and the suffix string through the specified TCP/IP connection.

Returns True

Notes This verb is new in Frontier 6.2b10.

See also tcp.writeStream

tcp.writeStringToStream

Discuss