Connect Client: setting a partial filename suffix

Overview

This article shows how to change the default extension for files that are partially downloaded on on the client side.

Details

The Connect client provide many possibilities of configuration with its GUI:

In addition, all "FASP" client parameters can also be set in FASP configuration file: aspera.conf.

Location of aspera.conf

Aspera Connect Client embeds FASP with its "ascp" command line. ascp will location the file "aspera.conf" either in the same folder as ascp or in ../etc. Typically, this file is located here:

Windows

%APPDATA%\Local\Programs\Aspera\Aspera Connect\etc

typically:

C:\Users\<username>\AppData\Local\Programs\Aspera\Aspera Connect\etc

Mac OS X

$HOME/Applications/Aspera Connect.app/Contents/Resources

typically:

/Users/<username>/Applications/Aspera Connect.app/Contents/Resources

Linux

$HOME/.aspera/connect/etc

tyically:

/home/<username>/.aspera/connect/etc

Setting the partial file suffix

Aspera server software provide the "asconfigurator" tool that allows setting parameters in aspera.conf on command line, but not client software. For clients, changes needs to be made with an editor (or a command line editing tool).

The aspera.conf file is an XML file, whose main tag is "<CONF>". The typical configuration for a freshly installed connect client is:

<CONF version="2">
<default>
    <file_system>
        <storage_rc>
            <adaptive>
                true
            </adaptive>
        </storage_rc>
    </file_system>
</default>
</CONF>

Setting the partial file suffix consist in adding the following lines:

<CONF version="2">
<default>
    <file_system>
        <partial_file_suffix>.partial</partial_file_suffix>
        <storage_rc>
            <adaptive>
                true
            </adaptive>
        </storage_rc>
    </file_system>
</default>
</CONF>

Effects

The effects are the following:

- on downloads: files will have the ".partial" extension during download, this extension is removed when the file is complete. Note also that Connect Client uses the "-k2" FASP option, which results on the presence of the ".aspx" file during download. The .aspx file is removed at the same time the extension is removed from the filename.

- on uploads: files with extension ".partial" will be ignored and not uploaded. (note that .aspx are also ignored)

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk