AWS SDK for .NET Documentation
CopyToLocal Method (destFileName)
AmazonAmazon.S3.IOS3FileInfoCopyToLocal(String) Did this page help you?   Yes   No    Tell us about it...
Copies from S3 to the local file system. If the file already exists on the local file system than an ArgumentException is thrown.
Declaration Syntax
C#
public FileInfo CopyToLocal(
	string destFileName
)
Parameters
destFileName (String)
The path where to copy the file to.
Return Value
FileInfo for the local file where file is copied to.
Exceptions
ExceptionCondition
IOExceptionIf the file already exists locally.
WebException
AmazonS3Exception

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