Converting illegal Windows characters to a safe Windows character for ES 3.6.0

Description

For transfers with Enterprise Server/Connect Server/P2P/Client 3.6.0, you can specify a character to replace illegal characters in file and directory names on Windows systems.

The safe character replaces illegal characters only for files and directories written to the local Windows file system. Additionally, the safe character must be a single UTF-8 character that is not reserved by Windows.

Configuration

Through the command line

To specify a safe character to replace illegal characters for all transfers, run the following asconfigurator command, where safe_character is your character of choice:

asconfigurator -x "set_node_data;replace_illegal_chars,safe_character"

For example, to replace illegal characters in all the transfers to the local Windows system with “A”, you would run the following:

asconfigurator -x "set_node_data;replace_illegal_chars,A"

You can also specify a safe character for transfers involving users in a specific group:

asconfigurator -x "set_group_data,group_name;replace_illegal_chars,safe_character"

Finally, you can also specify a safe character for transfers involving specific users:

asconfigurator -x "set_user_data,user_name;replace_illegal_chars,safe_character"

Through aspera.conf

You can also configure the safe character by editing aspera.conf.

In the appropriate section (default, user or group), add the <replace_illegal_chars> tag under <file_system>.

Below is an example for replacing illegal characters in all the transfers to the local Windows system with “A”:

    <default>
       <file_system>
           <replace_illegal_chars>A</replace_illegal_chars>
       </file_system>
    </default>
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk