SlickUpload Documentation
- Installation
- Configuration
- Quick Start Guide
- How To
- Concepts
- Troubleshooting
- FAQ/Known Issues
- Upgrading
- Client Reference
-
Server Reference
- Class reference syntax
- Installing the license
-
SlickUpload Namespaces
- Krystalware.SlickUpload
- Krystalware.SlickUpload.Configuration
-
Krystalware.SlickUpload.Storage
- BuildWhereCriteriaAction Class
- DatabaseUploadStreamProviderBase Class
- FileUploadStreamProvider Class
- FileUploadStreamProvider.ExistingAction Enum
- FileUploadStreamProvider.FileNameMethod Enum
- IUploadStreamProvider Interface
- MemoryUploadStreamProvider Class
- NullUploadStreamProvider Class
- SqlClientUploadStreamProvider Class
- SqlColumnDataType Enum
- UploadStreamProviderBase Class
- Krystalware.SlickUpload.Storage.Streams
- Krystalware.SlickUpload.Web
- Krystalware.SlickUpload.Web.Controls
- Krystalware.SlickUpload.Web.Controls.Design
- Krystalware.SlickUpload.Web.Handlers
- Krystalware.SlickUpload.Web.Mvc
- Krystalware.SlickUpload.Web.SessionStorage
FileUploadStreamProvider Class
- Inherits: UploadStreamProviderBase
An IUploadStreamProvider that writes to files.
Members
- ExistingAction
- Enumeration of the possible actions to take when trying to upload to a file that exists.
- FileNameMethod
- Enumeration of the methods to use when generating a filename.
- FileUploadStreamProvider (UploadStreamProviderElement)
-
Creates a new instance of the MemoryUploadStreamProvider class with the specified configuration settings.
Parameters
- settings (UploadStreamProviderElement) – The UploadStreamProviderElement object that holds the configuration settings.
- CloseWriteStream (UploadedFile, Stream, Boolean)
-
Parameters
- file (UploadedFile)
- stream (Stream)
- isComplete (Boolean)
- ConvertToAbsolutePath (String)
-
Returns the absolute path for a relative file name.
Parameters
- fileName (String) – The relative file name.
Return Value
- String – The absolute path.
- GetReadStream (UploadedFile)
-
Overridden.
Parameters
- file (UploadedFile)
Return Value
- GetRenameSequence (String)
-
Returns an enumerable sequence that represents the renaming sequence for the specified filename. This sequence will be iterated until it generates a filename that doesn't currently exist to find a valid filename.
Parameters
- fileName (String) – The filename for which to create the rename sequence.
Return Value
- IEnumerable<String> – An enumerable sequence that represents the renaming sequence for the specified.
- GetServerFileName (UploadedFile)
-
Returns the server file name to use for a given UploadedFile.
Parameters
- file (UploadedFile) – The UploadedFile for which to generate a file name.
Return Value
- String – The generated file name.
- GetWriteStream (UploadedFile)
-
Overridden.
Parameters
- file (UploadedFile)
Return Value
- RemoveOutput (UploadedFile)
-
Overridden.
Parameters
- file (UploadedFile)