User:Inductiveload/Scripts/Archive.org API
Appearance
In order to upload to the Internet Archive, you need:
- An IA account
- API keys, get these from http://www.archive.org/account/s3.php once you are logged in
- cURL, the file transfer client
Uploading
[edit]sourcefile="/home/user/dir/CycloS2_images.zip"
identifier="Cyclopaediachambers-SupplementVolume2"
targetname="CycloS2_images.zip"
accesskey="youraccesskey"
secret="yoursecretkey"
curl --location \
--header "authorization: LOW $accesskey:$secret" \
--upload-file $sourcefile\
--verbose \
http://s3.us.archive.org/$identifier/$targetname
External links
[edit]- http://www.archive.org/help/abouts3.txt - IA help file