AWS SDK for .NET Documentation
MoveFromLocal Method (path, overwrite)
AmazonAmazon.S3.IOS3FileInfoMoveFromLocal(String, Boolean) Did this page help you?   Yes   No    Tell us about it...
Moves the file from the local file system to S3 in this directory. If the file already exists in S3 and overwrite is set to false than an ArgumentException is thrown.
Declaration Syntax
C#
public S3FileInfo MoveFromLocal(
	string path,
	bool overwrite
)
Parameters
path (String)
The local file system path where the files are to be moved.
overwrite (Boolean)
Determines whether the file can be overwritten.
Return Value
S3FileInfo where the file is moved to.
Exceptions
ExceptionCondition
IOExceptionIf the file already exists in S3 and overwrite is set to false.
ArgumentException
WebException
AmazonS3Exception

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