Upload file
Learn how to upload files to LinkedDataHub
- Click the Create dropdown in the top-left corner
- Click on File in the drop-down list that appears
- Fill out the mandatory fields in the form:
- FileName
- Select file from your filesystem
- Title
- Enter file title
- Title
- Enter document title
- Click Save
See how below:
Replace ${OWNER_KEY_PASSWORD} with its value from the .env file and execute the following command:
pushd . && cd "$SCRIPT_ROOT/imports"
./create-file.sh \
-b "https://localhost:4443/" \
-f certs/owner.p12.pem \
-p "${OWNER_KEY_PASSWORD}" \
--title "${title}" \
--file "${filename}" \
--file-content-type "${content_type}"
popd