Moves the files from this directory to the target directory specified by the bucket and object key.
Declaration Syntax
C# |
public S3DirectoryInfo MoveTo( string newBucket, string newKey )
Return Value
S3DirectoryInfo for the target location.
Exceptions
Exception | Condition |
---|---|
ArgumentException | |
WebException | |
AmazonS3Exception |