This article shows how to change the default extension for files that are partially downloaded on on the client side.
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:
Mac OS X
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>
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)