All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Finally, it's also possible to simply deposit a valid SWORD Zip package via common Linux commandline tools (e.g. curl). For example:
Code Block |
---|
# Deposit a SWORD Zip package named "sword-package.zip" into a DSpace Collection (handle 123456789/2) as user "test@dspace.org" # (Please note that you WILL need to obviously modify the Collection location, user/password and name of the SWORD package) curl -i --data-binary "@sword-package.zip" -H "Content-Disposition:filename=sword-package.zip" -H "Content-Type:application/zip" -H "X-Packaging:http://purl.org/net/sword-types/METSDSpaceSIP" -u test@dspace.org:[password] http://[dspace.url]/sword/deposit/123456789/2 # Template 'curl' command: #curl -i --data-binary "@[zip-package-name]" -H "Content-Disposition:filename=[zip-package-name]" -H "Content-Type:application/zip" -H "X-Packaging:http://purl.org/net/sword-types/METSDSpaceSIP" -u [user]:[password] http://[dspace.url]/sword/deposit/[collection-handle] |