Click or drag to resize
S3ObjectInfoProviderPutFileToObject Method
Puts local file to Amazon S3 storage.

Namespace: CMS.AmazonStorage
Assembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 13.0.131
Syntax
C#
public void PutFileToObject(
	IS3ObjectInfo obj,
	string pathToSource
)

Parameters

obj
Type: CMS.AmazonStorageIS3ObjectInfo
Object info.
pathToSource
Type: SystemString
Path to local file.

Implements

IS3ObjectInfoProviderPutFileToObject(IS3ObjectInfo, String)
Remarks
For uploading a file from different file system other than local file system to Amazon S3 storage, PutDataFromStreamToObject(IS3ObjectInfo, Stream) method should be used.
See Also