Amazon.S3.IO.S3FileInfo.MoveFromLocal C# (CSharp) Метод

MoveFromLocal() публичный Метод

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.
If the file already exists locally.
public MoveFromLocal ( string path ) : S3FileInfo
path string The local file system path where the files are to be moved.
Результат S3FileInfo
        public S3FileInfo MoveFromLocal(string path)
        {
            S3FileInfo ret = CopyFromLocal(path, false);
            File.Delete(path);
            return ret;
        }

Same methods

S3FileInfo::MoveFromLocal ( string path, bool overwrite ) : S3FileInfo