Moves the file to a a new location in S3.
| C# |
public S3FileInfo MoveTo( S3FileInfo file )
- file (S3FileInfo)
- The target file to copy to.
S3FileInfo for the target location.
| Exception | Condition |
|---|---|
| IOException | If the file already exists in S3. |
| ArgumentException | |
| WebException | |
| AmazonS3Exception |