Version: 4.10.0.1
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, and VB6. All samples include complete source code.

.NET Sample Name  Sample Description 
MPut Demo Demonstrates how to store multiple files and folders from a local directory to an SFTP server using a wildcard expression..
MGet 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.
SFTP WCF Service Demonstrates downloading a file using a Windows Communication Foundation (WCF) service application. Includes example consumer app.
SSH with VT Client Demonstrates a fully interactive SSH client that also uses the Emulation for .NET product for VT emulation.

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!

After downloading, you will need to unblock the zip before extracting it: locate the zip in Windows explorer, right-click on it, select 'Properties', and click the 'Unblock' button in the bottom-right corner of the General tab.

This will resolve the compile-time exception 'Could not load file or assembly 'Dart.*****' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'.