Moves the file to a a new location in S3.
Declaration Syntax
C# |
public S3FileInfo MoveTo( string bucket, string key )
Return Value
S3FileInfo for the target location.
Exceptions
Exception | Condition |
---|---|
IOException | If the file already exists in S3. |
ArgumentException | |
WebException | |
AmazonS3Exception |