Upload file

Learn how to upload files to LinkedDataHub

  1. Click the Create dropdown in the top-left corner
  2. Click on File in the drop-down list that appears
  3. Fill out the mandatory fields in the form:
    FileName
    Select file from your filesystem
    Title
    Enter file title
    Title
    Enter document title
  4. 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