BetaBetaThe item that the file is part of.
Metadata for the given file.
Protected BetaitemThe item that the file is part of.
Readonly BetametadataReadonly BetaurlBetaBetaBetaBetaBetaBetaBetaBetaBetaBetaDelete a file from the Archive.
Note: Some files -- such as <itemname>_meta.xml -- can not be deleted.
OptionalcascadeDelete?: anyOptionalheaders?: HttpHeadersOptionalretries?: numberBetaDownload the file into the current working directory.
true if file was successfully downloaded.
BetaBetaReturns a string representation of an object.
This class represents a file in an archive.org item. You can use this class to access the file metadata.
Or to download a file:
This class also uses IA's S3-like interface to delete a file from an item. You need to supply your IAS3 credentials in environment variables in order to delete:
You can retrieve S3 keys here.