SendSafely Windows CLI

The SendSafely Windows Command Line Interface (CLI) is a native Windows program that can be used to send or receive files using SendSafely from a Windows command line. The CLI is a useful alternative to using a web browser for sending extremely large (10GB+) files.

The latest version of the SendSafely CLI can be downloaded here: 

https://sendsafely.s3.amazonaws.com/clint/SendSafelyCLI_v1.0.3.zip.

Examples of how to use the CLI to upload and download files are below. A full list of CLI commands can be obtained by running the CLI and typing "help" at the command prompt. 

 

Downloading Files with the CLI

Any SendSafely Secure Link can be used with the CLI to download files. The CLI requires a full keyed link to the items you want to download, meaning that the link must include both a packageCode and keycode. The full link to any item can be obtained by pressing the "Show link" button when viewing any SendSafely item.

Step 1 - Connect with Username & Password

------------------------------
| SendSafely CLI v1.0        | 
| support@sendsafely.com     | 
------------------------------ 

Type 'help' for available commands 
Connect demo@sendsafely.com 
Connecting to https://www.sendsafely.com 
Password: *********** 
Connected as demo@sendsafely.com 

Step 2 - Pass the Secure Link to the CLI

DownloadPackage https://demo.sendsafely.com/receive/?thread=1P82-R5DV&packageCode=DPwrlcY5xtVA9KWbglcx5tMM3CZeNh2XvzZ5mOb2GwI#keyCode=gdCbZzfGTaSg1Eekm7bwjXbJFpgfTMWbavWHM2eB9fw c:\temp\
Downloading file mydocument.pdf
Downloading and Decrypting: Part 1 of 2 (50%)
Downloading and Decrypting: Part 2 of 2 (100%)
Download complete, file saved to c:\temp\mydocument.pdf
All downloads are complete.

 

Uploading Files with the CLI

The SendSafely CLI can also be used to send files using the steps outlined below. 

Step 1 - Connect with Username & Password

------------------------------
| SendSafely CLI v1.0        | 
| support@sendsafely.com     | 
------------------------------ 

Type 'help' for available commands 
Connect demo@sendsafely.com 
Connecting to https://www.sendsafely.com 
Password: *********** 
Connected as demo@sendsafely.com 

Step 2 - Create a new package

CreateNewPackage
Package ID MVUF-AART created.

Step 3 - Add a File

AddFile c:\temp\mydocument.pdf
Uploading 100%
Added File with ID c2e39439-afed-42d1-b595-305169f11066

Step 4 - Add a Recipient

AddRecipient user@example.com
Added Recipient with ID: 4f615b23-8be1-42ef-96a7-6e0cf89dc1d2

Step 5 - Generate the Secure Link

GenerateLink
https://demo.sendsafely.com/receive/?thread=MVUF-AART&packageCode=JsTriHmPlg4PZaPZayxOdGSgdwGUYqwk6IQigtGNeLo#keyCode=fUoqJRj6zm8vAUdmtJ6xuEdsBi7KlACct_gFbPNMhCA



Have more questions? Submit a request






Powered by Zendesk