Version: 4.3.0.0
Add secure SSH session and file transfer capabilities to any .NET application.

Code Examples

These code snippets can be copied and pasted into your project.

Code Snippet Description
Get A File Demonstrates how to download a file with progress and logging in a windows forms application.
Put A File Demonstrates how to upload a file with progress and logging in a windows forms application.
Get Multiple Files Demonstrates how to download multiple files with minimal code.
Receive and Display Data Demonstrates how to receive and display data asynchronously, without blocking the UI.

Sample Projects Included

The samples are fully working applications demonstrating all PowerTCP SSH and SFTP for .NET components in C#, VB.NET, VB6 and VC++/CLI, and include complete source code.

.NET Sample Name  Sample Description 
MGet Demo Demonstrates how to store multiple files and folders from a local directory to an SFTP server using a wildcard expression..
MPut Demo Demonstrates how to retrieve multiple files and folders from an SFTP server to a local directory using a wildcard expression.
SFTP Client Demonstrates a full SFTP client, including storing and retrieving files, sending commands, and retrieving listings.
SSH Client Demonstrates a fully interactive, multiple-session SSH client.

Samples using the exposed COM interface:

VB6 Sample Name  Sample Description 
Automated Client Demonstrates execution of a simple blocking script.
SFTP Client Demonstrates a full SFTP client, including storing and retrieving files, sending commands, and retrieving listings.
SSH Client Demonstrates a fully interactive, multiple-session SSH client.
 Download the SSH and SFTP Samples Now!

Additional Sample Downloads


Sample Name  Sample Description 
SSH with VT Client Demonstrates a fully interactive SSH client that also uses the Emulation for .NET product for VT emulation.
File Upload & SFTP Web Application Demonstrates how a file can be transferred from a client machine to an SFTP server via a web application. Note that this sample also uses the PowerWEB File Upload control.
 Download the SSH with VT Sample Now!