Skip to content

Commit ad22435

Browse files
Update README
1 parent 1c0613c commit ad22435

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

SampleApplication/README.MD

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SampleApplication is intended to provide a starting point for building custom Java application integrations using the SendSafely Java Client API.
2+
3+
#Instructions
4+
Download the most recent release of the SendSafely Client API, extract, and copy all of the contained jar files into the SampleApplication/lib folder.
5+
6+
##Compile the sample
7+
8+
`mkdir bin`
9+
10+
`javac -cp "lib/*" -d bin src/*.java`
11+
12+
##Run the sample
13+
14+
```
15+
java -cp "lib/*;bin/" SendSafelyRefApp
16+
Usage: SendSafelyRefApp SendSafelyHost UserApiKey UserApiSecret FileToUpload RecipientEmailAddress
17+
18+
This program will print out the secure URL to access the package after it has been submitted.`
19+
```
20+
21+
###Command Line Argments
22+
23+
- SendSafelyHost - Use your SendSafely organizaiton host or https://app.sendsafely.com
24+
- UserApiKey - Generate ApiKey and ApiSecret from your Edit Profile page when logged into the SendSafely web portal
25+
- UserApiSecret - Generate ApiKey and ApiSecret from your Edit Profile page when logged into the SendSafely web portal
26+
- FileToUpload - Path to the file that is to be uploaded (i.e. /path-to-file/test.pdf)
27+
- RecipientEmailAddress - The email address of the person you want to send the file to (i.e. [email protected])
28+

SampleApplication/README.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)