AWS SDK for .NET Documentation
MoveTo Method (path)
AmazonAmazon.S3.IOS3FileInfoMoveTo(S3DirectoryInfo) Did this page help you?   Yes   No    Tell us about it...
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
ExceptionCondition
IOExceptionIf the file already exists in S3.
ArgumentException
WebException
AmazonS3Exception

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