PowerTCP FTP for .NET
from $299.00Available Platforms
New Sample Projects for PowerTCP FTP for .NET have been added to include .NET Core 2.0 projects, referencing the Dart.Ftp.Standard dll. Look for the to identify these samples.
Code Examples
The FTP component frees you from having to write 'spaghetti code' that jumps from function to function using asynchronous 'Begin' and 'End' methods, just so you can perform your work and update the UI at the same time.
Asynchronous methods are not necessary. You do your work in one function and use the 'Start' method to execute it on a worker thread without freezing the interface. Component events are raised on the UI thread, eliminating the need to write delegates and 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?"
These code snippets can be copied and pasted into your project.
Code Snippet | Description |
---|---|
File Listing | How to retrieve a file listing. |
Download a File | How to download a file. |
Upload a File | How to upload a file. |
Download Multiple Files | How to download a directory tree using a single method. (MGET) |
Example Projects
Example are working applications demonstrating FTP for .NET components in C#, VB.NET and PowerShell. Source code included.
Example Name | Description |
---|---|
ListView Client | A medium size Windows Forms application demonstrating storing and retrieving files, displaying file transfer progress, aborting transfers, and retrieving and displaying listings. |
Streaming Transfer | Demonstrates how to retrieve and store a file data directly from/to memory using a Stream. |
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. |
Task-Async ListView Client | Implements the functionality of the ListView Client using the 4.5 .NET Framework System.Threading.Tasks.Task.Run() method. This obsoletes the Start and Marshal methods along with the UserState, Listing, Copy, and Error events, while allowing for a simple multithreaded design. |
WPF Listview Client | Similar to the ListView Client, but written using Windows Presentation Foundation (which uses DirectX) |
Console Ftp | Demonstrates retrieving a file in a simple single-thread console application. |
PowerShell Get and Put | Demonstrates how to upload and download files from a scripting application. |
Web Service | Dynamically gets a file from an FTP server on behalf of a consumer. |
Upload with Streams | How to upload dynamically generated data to a server using streams. |
WCF Service | Dynamically gets a file from an FTP server on behalf of a consumer. |
ListView Client Web Application | Demonstrates a web-based FTP client. |