Moves the file to a a new location in S3.
Declaration Syntax
C# |
public S3FileInfo MoveTo( S3DirectoryInfo path )
Parameters
- path (S3DirectoryInfo)
- The target directory to copy to.
Return Value
S3FileInfo for the target location.
Exceptions
Exception | Condition |
---|---|
IOException | If the file already exists in S3. |
ArgumentException | |
WebException | |
AmazonS3Exception |