Moves the file from the local file system to S3 in this directory.
If the file already exists in S3 than an ArgumentException is thrown.

C# |
public S3FileInfo MoveFromLocal( string path )

- path (String)
- The local file system path where the files are to be moved.

S3FileInfo where the file is moved to.

Exception | Condition |
---|---|
IOException | If the file already exists locally. |
ArgumentException | |
WebException | |
AmazonS3Exception |