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
66Copy the SendSafely Jar into this folder and name it SendSafely.jar
77
88Compile the code with the following command:
9+ Linux, MacOS
910javac -cp SendSafely.jar:lib/*.jar: -d bin src/*.java
1011
12+ Windows
13+ javac -cp "SendSafely.jar;lib/*.jar" -d bin src/*.java
14+
1115Run the application with the following command:
16+ Linux, MacOS
1217java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp
1318
19+ Windows
20+ java -cp "SendSafely.jar;lib/*;bin/" SendSafelyRefApp
21+
1422The Application requires 5 arguments
1523- SendSafelyHost (Use https://app.sendsafely.com)
1624- UserAPIKey (Go to your profile on www.sendsafely.com and generate a new API Key)
@@ -19,4 +27,4 @@ The Application requires 5 arguments
1927- RecipientEmailAddress (The email to the person you want to send the file to)
2028
2129Example:
22- java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp https://app.sendsafely.com my-api-key my-api-secret /path-to-file/test.pdf test@example.com
30+ java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp https://app.sendsafely.com my-api-key my-api-secret /path-to-file/test.pdf test@example.com
You can’t perform that action at this time.
0 commit comments