JScript | |
---|---|
public interface IFileStorage |
Name | Description | |
---|---|---|
IsConfigured | Returns true if storage is configured. | |
StorageID | Gets the storage identifier. |
Name | Description | |
---|---|---|
Commit | Commit new version for file. | |
DeleteFile | Overloaded. Deletes the file. | |
Exists | Returns true when file exists. | |
FilesCount | Return count of files saved in storage. | |
GetFileAsBytes | Overloaded. Return file as byte array. | |
GetFileAsOfDate | Overloaded. Returns file as of date in storage or null in case file doesn't exist. | |
GetFileAsString | Overloaded. Returns file as string. | |
GetInputStream | Overloaded. Returns input file stream by filename. | |
GetLastVersion | Return number of version stored for file. | |
GetMetadata | Overloaded. Returns file's metadata. | |
GetMetadataAllVersions | Returns file metadata for all file versions including trunk - goes first. Be aware collection can have nulls in it if no metadata for some specific version. | |
GetOutputStream | Overloaded. Creates output file stream by filename. | |
List | Overloaded. Returns list of files were uploaded. | |
PurgeExpiredFiles | Purges expired files from storage which are older than the upload date specified. | |
PurgeInactiveFiles | Purges inactive files from storage which are older than the upload date specified. | |
RenameFile | Rename the file. | |
SaveFile | Overloaded. Saves file stream and returns file guid. | |
SaveFileZipped | Overloaded. Compress and saves file stream and returns file guid. | |
SaveString | Overloaded. Saves file string data and returns file name. | |
SaveStringZipped | Overloaded. Compress and saves file string data and returns file name. | |
SaveTempFile | Saves temp file stream and returns unique file id. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family