Amazon.S3.IO.S3FileInfo.CopyFromLocal C# (CSharp) Method

CopyFromLocal() public method

Copies the file from the local file system to S3. If the file already exists in S3 than an ArgumentException is thrown.
If the file already exists in S3.
public CopyFromLocal ( string srcFileName ) : S3FileInfo
srcFileName string Location of the file on the local file system to copy.
return S3FileInfo
        public S3FileInfo CopyFromLocal(string srcFileName)
        {
            return CopyFromLocal(srcFileName, false);
        }

Same methods

S3FileInfo::CopyFromLocal ( string srcFileName, bool overwrite ) : S3FileInfo