/// <summary> /// Overridden. Upload file from the local file system to storage. /// </summary> /// <param name="localPath">Local file system path.</param> /// <param name="path">Path to upload, e.g. /folder/file.ext </param> /// <param name="storage">Storage name.</param> /// <returns>AsposeResponse | Operation status.</returns> public AsposeResponse UploadFile(string localPath, string path, string storage = null) { return(StorageFileApiImpl.UploadFile(localPath, path, storage)); }
/// <summary> /// Upload stream to a storage file. /// </summary> /// <param name="stream">File stream to upload.</param> /// <param name="path">Storage path </param> /// <param name="storage">Storage name.</param> /// <returns>AsposeResponse | Operation status.</returns> public AsposeResponse UploadFile(Stream stream, string path, string storage = null) { return(StorageFileApiImpl.UploadFile(stream, path, storage)); }