Click or drag to resize
ChannelSendFile Method (String, Boolean, Boolean, String)
Uploads a local file to the server

Namespace:  TeamSpeak.Sdk.Client
Assembly:  TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntax
public Task SendFile(
	string file,
	bool overwrite = false,
	bool resume = false,
	string channelPassword = null
)

Parameters

file
Type: SystemString
Path of the local file, which is to be uploaded.
overwrite (Optional)
Type: SystemBoolean
when false, upload will abort if remote file exists
resume (Optional)
Type: SystemBoolean
If we have a previously halted transfer: true = resume, false = restart transfer
channelPassword (Optional)
Type: SystemString
Optional channel password. Pass empty string or null if unused.

Return Value

Type: Task
A task that represents the asynchronous upload operation.
See Also