Aspera

Aspera

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  ascp and password

    Posted yesterday

    Hello

    I was wondering if in asp.exe, there is another way of setting password for a transfert than passing ENV variable (ASPERA_SCP_PASS) ?

    Is there a specific argument ?

    Thanks in advance



    ------------------------------
    Antonin Gouzer
    ------------------------------


  • 2.  RE: ascp and password

    Posted yesterday

    Hi Antonin,

    For security reasons, there is not command line argument to provide sensitive information such as ssh's password.

    (One exception is for token, which can provided also with `-W`, but the env var ASPERA_SCP_TOKEN is the preferred way).

    Also, depending on what you want to do, direct use of ascp is not always the best thing.

    For tight programmatic integration, it's better to use "transferd".

    For command line (and script), `ascli` is a good alternative, and gives many ways to provides the arguments.

    I'll send you a direct email.

    Regards,

    Laurent



    ------------------------------
    Laurent Martin
    ------------------------------