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
------------------------------
Original Message:
Sent: Tue January 06, 2026 05:44 AM
From: Antonin Gouzer
Subject: ascp and password
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
------------------------------