PHP.nl

ssh2_send_eof

ssh2_send_eof

Send EOF to stream

bool **ssh2_send_eof** resource $channel

Sends an EOF to the stream; this is typically used to close standard input, while keeping output and error alive. For example, one can send a remote process some data over standard input, close it to start processing, and still be able to read out the results without creating additional files.

channel An SSH stream; can be acquired through functions like or . ssh2_fetch_stream``ssh2_connect

return.success

ssh2_fetch_stream