Aspera Developer Documentation
Aspera C++ Fasp Manager API

Introduction

The FASP Manager library provides a high-level interface for creating new Aspera transfer jobs and monitoring transfer status and progress statistics through polling and/or callback mechanisms. This documentation specifies the FASP Manager library API and a sample program, FaspManagerSample.cpp, demonstrating how the API may be used in a C++ application for the following basic transfer cases:

Please consult Aspera if you have specific requirements, not covered in the sample code.

Building the FASP Manager Sample

The FaspManagerSample is an MSVC solution that builds a sample executable linking the FASP Manager library. The Sample provides an interactive shell demonstrating transfer control commands and displaying the transfer progress statistics and status events. Typing "help" at the prompt displays a complete listing of supported commands, including displaying per file and whole job statistics, and commands to pause, resume, cancel, and change the rate of an ongoing transfer.

Using the FASP Manager API

As illustrated by the FaspManagerSample, to use the FASP Manager API to start an Aspera transfer, please use the following steps:

During the transfer, the application may optionally call the Manager's ControlJob method to send commands to pause, resume or change the transfer speed or bandwidth sharing policy.


Copyright © 2005 - 2008 Aspera, Inc. | asperasoft.com