AWS SDK for .NET Documentation
Upload Method (vaultName, archiveDescription, filepath, options)
Amazon ► Amazon.Glacier.Transfer ► ArchiveTransferManager ► Upload(String, String, String, UploadOptions)
Did this page help you? Yes No Tell us about it...

Uploads the specified file to Amazon Glacier for archival storage in the specified vault in the specified user's account. For small archives, this method uploads the archive directly to Glacier. For larger archives, this method uses Glacier's multipart upload API to split the upload into multiple parts for better error recovery if any errors are encountered while streaming the data to Amazon Glacier.

Declaration Syntax

C#

    public UploadResult Upload(
    	string vaultName,
    	string archiveDescription,
    	string filepath,
    	UploadOptions options
    )

Parameters

vaultName (String)
  The name of the vault to download the archive from.

archiveDescription (String)
  A description for the archive.

filepath (String)
  The file path to the file to upload.

options (UploadOptions)
  Additional options that can be used for the upload.

Return Value
The results of the upload including the archive ID.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)