Uploads the specified local files and/or directories to the directory to the SFTP server.

Namespace:  Rebex.Net
Assembly:  Rebex.Sftp (in Rebex.Sftp.dll)

Syntax

Visual Basic
Public Sub Upload ( _
	set As FileSet, _
	remoteDirectoryPath As String _
)
C#
public void Upload(
	FileSet set,
	string remoteDirectoryPath
)

Parameters

set
Type: Rebex.IO..::..FileSet
A filtering set which specifies remote files and directories to be uploaded.
remoteDirectoryPath
Type: System..::..String
The path of the remote directory. This must be a directory.

Implements

IFtp..::..Upload(FileSet, String)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also