Version: 4.4.2.3
Easily add comprehensive, secure FTP to any .NET application or service.

Code Examples

Our new design frees you from having to write 'spaghetti code' that jumps from function to function using confusing 'Begin' and 'End' methods, just so you can perform your work and update the UI at the same time.

Asynchronous methods have been completely eliminated from our components. You can now do all of your work in one linear function, using our 'Start' method to execute it without blocking the interface.

Events fire on the UI thread, eliminating the need to write delegates and to call 'Invoke' from the worker thread.

To the right is a side-by-side comparison between code using PowerTCP FTP for .NET and code using a competitor's product. The task is to log into an FTP server, upload a directory, and log out, while updating status in a log window and progress bar. Take a look at the code and ask yourself, "Which code would I rather write and maintain?"

      Code Comparison

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.
Append To A Remote File Demonstrates how to append to a remote file or resume an interrupted upload.

Sample Projects

Samples are working applications demonstrating FTP for .NET components in C#, VB.NET, C++/CLI and PowerShell. Source code included.

Sample Name  Sample Description 
ListView Client Demonstrates storing and retrieving files, sending commands, displaying file transfer progress, and retrieving and displaying listings.
Get Stream Demonstrates how to retrieve a file's data directly to a Stream.
Put Stream Demonstrates how to store data in a Stream as a file on the server.
Parallel Transfers Demonstrates how to to transfer several files simultaneously, using multiple concurrent FTP sessions.
FTP Web Service Demonstrates a web service that utilizes the Ftp component.
FTP WCF Service Demonstrates a Windows Communication Foundation (WCF) service that utilizes the Ftp component.
File Upload & FTP Web Application Demonstrates how a file can be transferred from a client machine to an FTP server via a web application. Note that this sample requires a trial or licensed version of the PowerWEB File Upload control to run.
 Download the FTP for .NET Sample Projects