PowUpload 1.3 control documentation

UploadedFile overview

Public Static Methods

GetSafeName Returns the safe file name and extension of the specified path string.

Public Instance Properties

ClientFilePathGets full name of the file on the client's computer.
ContentLengthGets the size in bytes of an uploaded file.
ContentTypeGets the MIME content type of a file sent by a client.
CustomData Property of any type allows to store custom data between progress bar calls or between progress bar and final file processings script.
ExtensionGets the file name extension (including the ".")
FieldNameGets the field name of the file uploaded.
FileNameGets full name of the file on the client's computer.
ImageHeightGets the height of the image in pixels if the file uploaded is an image.
ImageWidthGets the width of the image in pixels if the file uploaded is an image.
InputStream Gets a Stream object which points to an uploaded file in a temporary folder to prepare for reading the content of the file.
IsComplete 
IsImage Gets a value that indicates whether the uploaded file is an image or not.
Rejected Gets a value that indicates whether the file was rejected or not.
SafeFileNameGets a safe file name with an extension.
TempFileNameGets the path to the temporary file associated with the file uploaded.

Public Instance Methods

CloseInputStream Closes the stream created by the InputStream property and releases all resources (such as file handles) associated with the stream.
CopyToOverloaded. Copies an uploaded file to a new file. Overwriting a file of the same name is allowed.
Dispose Forces the release of all resources used by this UploadedFile object : Deletes temporary file held by the object, closes stream created by the InputStream property
GetHashMD5 Returns the MD5 hash for uploaded file body.
SaveAsOverloaded. Moves an uploaded file to a new location, providing the option to specify file name.

Protected Instance Methods

Finalize Executes own Dispose() method to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

See Also

UploadedFile Class | ElementIT.PowUpload Namespace