Back to product page

SendEOF method


Send an EOF packet to the server.

Type

None

Syntax

  • Basic
object.SendEOF
The SendEOF(object) syntax has these parts:
objectAn expression evaluating to an object of type wodSSH.

Remarks

The SendEOF method sends an EOF packet to the remote end, indicating that it has finished transferring data to the server. You will not usually call this method unless you exactly know when and why to use it.

Typical usage is during file transfer, for example when simulating SCP protocol. In this case you have to let the server know that you have finished sending data and that it should write the data to the disk. The protocol specification say that this is done using an EOF signal.

SendEOF cannot be used with Telnet or Raw protocols.

Platforms

Windows