Unable to download data to AWS S3 bucket using canvas2 CLI

Community Member

I am trying to utilize CLI to download directly to the AWS S3 bucket. The CLI returns success but I don't see any file downloaded to the bucket. When I change the directory path to the Local machine where I am running the CLI, I am able to download successfully.  Please let me know if there is any issue with CLI syntax that I am using.

Additionally , Is it possible to rename the filename while we download it through CLI itself by passing desired file name as  parameter ?  

dap --base-url https://example.net//auth --client-id ****** --client-secret *****  snapshot --namespace canvas --table accounts --format parquet --output-directory https://s3.amazonaws.com/*****/