AWS SDK for .NET Documentation
MoveTo Method (file)
AmazonAmazon.S3.IOS3FileInfoMoveTo(S3FileInfo) 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(
	S3FileInfo file
)
Parameters
file (S3FileInfo)
The target file 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)