Click or drag to resize
FileBrowserContentProviderStoreFile Method (HttpPostedFile, String, String, String)

Note: This API is now obsolete.

Creates a file item from a HttpPostedFile to the given path with the given name.

Namespace: Kettic.AspNet.Controls.Widgets
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[ObsoleteAttribute("Please use the other overload of StoreFile()")]
public virtual string StoreFile(
	HttpPostedFile file,
	string path,
	string name,
	params string[] arguments
)

Parameters

file
Type: System.WebHttpPostedFile
The uploaded HttpPostedFile to store.
path
Type: SystemString
The virtual path where the file item should be created.
name
Type: SystemString
The name of the file item.
arguments
Type: SystemString
Additional values to be stored such as Description, DisplayName, etc.

Return Value

Type: String
String containing the full virtual path (including the file name) of the file item.
Remarks
The default FileUploader control does not include the arguments parameter. If you need additional arguments you should create your own FileUploader control.
See Also