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

Uploading a Stream to a File on the Server

Problem:

The developer wishes to upload a Stream of data to a file on the server. The application must:

  • Upload a data Stream to a server file
  • Show transfer progress
  • Include file and interface session logging
  • Allow restarts and aborts
 

Solution:

With the PowerTCP FTP component, applications can perform all these tasks and more. The Stream Put sample demonstrates how to upload a Stream, while providing progress statistics during the transfer.

C#, VB.NET and VC++ versions of this sample are included in the PowerTCP FTP for .NET installation. To download this sample with additional product-specific samples and documentation, see the following:

PowerTCP FTP for .NET

See all samples for PowerTCP FTP for .NET