OCISDK/OCISDK/ObjectStorage/IO/ObjectStorageFileInfo.cs
/// <summary>
/// Moves the file from ObjectStorage to the local file system in the location indicated by the path parameter.
/// </summary>
/// <param name="path">The location on the local file system to move the file to.</param>
/// <exception cref="T:System.IO.IOException">If the file already exists locally.</exception>
/// <exception cref="T:System.ArgumentException"></exception>
/// <exception cref="T:System.Net.WebException"></exception>
/// <returns>FileInfo for the local file where file is moved to.</returns>
Moves the file from ObjectStorage to the local file system in the location indicated by the path parameter.
Moves the file from ObjectStorage to the local file system in the location indicated by the path parameter .
public FileInfo MoveToLocal(string path)
        {
            FileInfo ret = CopyToLocal(path, false);
            Delete();
            return ret;
        }
public FileInfo MoveToLocal ( string path ) { FileInfo ret = CopyToLocal ( path , false ) ; Delete ( ) ; return ret ; }
Moves the file from ObjectStorage to the local file system in the location indicated by the path parameter.
Moves the file from ObjectStorage to the local file system in the location indicated by the path parameter .
FileInfo for the local file where file is moved to.
FileInfo for the local file where file is moved to .
If the file already exists locally.
If the file already exists locally .
None
None
path
string
The location on the local file system to move the file to.
The location on the local file system to move the file to .