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.

C# |
public S3FileInfo MoveFromLocal( string path, bool overwrite )

S3FileInfo where the file is moved to.

Exception | Condition |
---|---|
IOException | If the file already exists in S3 and overwrite is set to false. |
ArgumentException | |
WebException | |
AmazonS3Exception |