For example: C:\> Type offįOR /f %%a IN ('WMIC OS GET LocalDateTime ^| FIND "."') DO SET DTS=%%a One simple approach for this proof-of-concept example is to have it call a batch file that contains the command to execute the SendSafelyExportUtility.exe. Use the Windows Task Scheduler feature to schedule the execution of the above SendSafely Secure Package Export Utility.Ī.) Refer to this helpful link to schedule events: Run a task every x-minutes with Windows Task Schedulerī.) There are several ways to utilize the Windows Task Scheduler to run the above Export Utility. Add a Scheduled Task for the Export Utility SendSafely also provides a Node.js script that can also be utilized as an alternative to the Package Export Utility. The server (or desktop) that the Export Utility executes on could be located on an internal company network, or within a cloud computing environment like AWS or Azure. As the source code for the Export Utility is provided (see below) you can also programmatically create the desired folder structure and file naming conventions when saving the files received via the Dropzone. Typically, this will be the local folder that is being synced to Google Drive (in the next step). where you want the Utility to save the downloaded files) at the end of the command. This will download and decrypt all the files submitted through the Dropzone(s) owned by your “service account” user SendSafelyExportUtility.exe -exportUserPackages īelow is an example of what the above command should look like: SendSafelyExportUtility.exe -exportUserPackages AABBBCCC XXXYYYZZZ c:\secure\111-2222-3333-4444.private_key.txt 111-2222-3333-4444 "C:\location\to-store\yourfiles\\"īe sure to add the path to the destination folder (i.e. This means you will need to:Ī.) Follow the “Generating an API Key” instructions as your Dropzone “service account” userī.) Generate a new “user key pair” SendSafelyExportUtility.exe -genUserKey Ĭ.) Run the export user packages command. Use the steps outlined here to download the SendSafely Package Export Utility and perform a “User Package Export”. If this account is receiving files from other sources outside of this Dropzone, they will also be downloaded. This is important as all files received by this service account will be downloaded. Your Dropzone should be set up under a dedicated SendSafely “service account” (a non-human user login) that is only used for this Dropzone. If you do not have a SendSafely Dropzone already setup, please follow the instructions found here. Steps 2 and 3 below must be performed on the Windows Server or Desktop machine. This setup requires a Windows Server (or Desktop) that will be used to synchronize your Dropzone with Google Drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |