File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,19 @@ cd to the project folder
6
6
Copy the SendSafely Jar into this folder and name it SendSafely.jar
7
7
8
8
Compile the code with the following command:
9
+ Linux, MacOS
9
10
javac -cp SendSafely.jar:lib/*.jar: -d bin src/*.java
10
11
12
+ Windows
13
+ javac -cp "SendSafely.jar;lib/*.jar" -d bin src/*.java
14
+
11
15
Run the application with the following command:
16
+ Linux, MacOS
12
17
java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp
13
18
19
+ Windows
20
+ java -cp "SendSafely.jar;lib/*;bin/" SendSafelyRefApp
21
+
14
22
The Application requires 5 arguments
15
23
- SendSafelyHost (Use https://app.sendsafely.com)
16
24
- UserAPIKey (Go to your profile on www.sendsafely.com and generate a new API Key)
@@ -19,4 +27,4 @@ The Application requires 5 arguments
19
27
- RecipientEmailAddress (The email to the person you want to send the file to)
20
28
21
29
Example:
22
- java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp https://app.sendsafely.com my-api-key my-api-secret /path-to-file/test.pdf
[email protected]
30
+ java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp https://app.sendsafely.com my-api-key my-api-secret /path-to-file/test.pdf
[email protected]
You can’t perform that action at this time.
0 commit comments