Downloading files to the client using Connect Client can easily be setup.  In your application.js file you need to include the handler for downloading files.

Uploading files from the client using Connect Client can easily be integrated into your website.  In your application.js file you simply need to include the handler for uploading files.

While the default policy is that existing files (specified in the transferSpec) are overwritten at download, it is possible to specify that downloads of pre-existing files should be renamed instead of overwritten.

You can back up the existing file by adding the option save-before-overwrite": true to the transferSpec in the request.

In the example below, great-movie.mov is the name of the existing file.

 

When the option save-before-overwrite": true is included, a file that already exists at the destination is renamed by adding a timestamp and an index (starting from 0, and incrementing if multiple downloads sessions for the same file occur in the same second) to the filename. The last downloaded version of the file retains the original filename. For the request in the example above, Connect saves the existing file great-movie.mov with the same name (great-movie.mov), with a timestamp to be added later. The new (overwritten) file is written as great-movie.mov.partial, and renamed to great-movie.mov when the transfer is completed.

For example, if a folder had great-movie.mov and the user downloaded two more copies of it the folder would result in great-movie.mov, great-movie.2014-08-05-040817-0.mov and great-movie.2014-08-05-055604-0.mov; where great-movie.mov is the last copy of the downloaded file.

File filters are used in file selection/save dialogs and allow the client to show only filtered files based on an extensions defined by the application or set by the user. These functions are:

The Connect Client API offers the ability to read 64-bit encoded data (up to 50MB) from a file path. This feature allows developers to create and display a preview of a selected file, an example of this is seen below.

Drag and Drop can enable your application to offer users a simplified method for uploading files.  Drag and Drop allows the user to simply drag a file from their operating system to the web application and the handlers will read in the needed data provided about the file to initiate the upload.

You can use basic authentication against an Aspera server to authenticate users to utilize your web application.

You can display active and completed transfers within the browser without having to use the GUI of the Connect plugin.

Video player

Video

×