The FolderProvider type exposes the following members.

Constructors

  NameDescription
Protected methodFolderProvider
DotNetNuke.Services.FileSystem.FolderProvider

Methods

  NameDescription
Public methodAddFile
Adds a new file to the specified folder.
Public methodAddFolder(String, FolderMappingInfo)
Adds a new folder to a specified parent folder.
Public methodAddFolder(String, FolderMappingInfo, String)
Public methodCopyFile
Copies the specified file to the destination folder.
Public methodDeleteFile
Deletes the specified file.
Public methodDeleteFolder
Deletes the specified folder.
Public methodEncryptValue
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFileExists
Checks the existence of the specified file in the underlying system.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFolderExists
Checks the existence of the specified folder in the underlying system.
Public methodGetEncryptedSetting
Gets the decrypted value of an encrypted folder mapping setting
Public methodGetFileAttributes
Gets the file attributes of the specified file.
Public methodGetFiles
Gets the list of file names contained in the specified folder.
Public methodGetFileSize
Gets the file length.
Public methodGetFileStream(IFileInfo)
Gets a file Stream of the specified file.
Public methodGetFileStream(IFolderInfo, String)
Gets a file Stream of the specified file.
Public methodGetFileStream(IFolderInfo, IFileInfo, Int32)
Gets a file Stream of the specified file.
Public methodGetFileUrl
Gets the direct Url to the file.
Public methodGetFolderProviderIconPath
Gets the URL of the image to display in FileManager tree.
Public methodGetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHashCode(IFileInfo)
Public methodGetHashCode(IFileInfo, Stream)
Public methodGetLastModificationTime
Gets the time when the specified file was last modified.
Public methodStatic memberGetProviderList
Get the list of all the folder providers.
Public methodGetSettingsControlVirtualPath
Gets the virtual path of the control file used to display and update specific folder mapping settings. By default, the control name is Settings.ascx.
Public methodGetSubFolders
Gets the list of subfolders for the specified folder.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInstance
Gets an instance of a specific FolderProvider of a given name.
Public methodIsInSync
Indicates if the specified file is synchronized.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveFile
Moves a file to a new folder
Public methodMoveFolder
Moves the folder and files at the specified folder path to the new folder path.
Public methodRenameFile
Renames the specified file using the new filename.
Public methodRenameFolder
Renames the specified folder using the new foldername.
Public methodSetFileAttributes
Sets the specified attributes to the specified file.
Public methodSupportsFileAttributes
Gets a value indicating if the underlying system supports file attributes.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateFile(IFileInfo, Stream)
Updates the content of the specified file. It creates it if it doesn't exist.
Public methodUpdateFile(IFolderInfo, String, Stream)
Updates the content of the specified file. It creates it if it doesn't exist.

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

Properties

  NameDescription
Public propertyIsStorageSecure
Gets a value indicating if the provider ensures the files/folders it manages are secure from outside access.
Public propertyRequiresNetworkConnectivity
Gets a value indicating if the provider requires network connectivity to do its tasks.
Public propertySupportsMappedPaths
Indicates if the folder provider supports mapped paths when creating new folders
Public propertySupportsMoveFile
Gets a value indicating whether the provider supports the MoveFile method. If a provider supports the MoveFile method, the folder manager does nt have to implement move by copying the file and then deleting the original.
Public propertySupportsMoveFolder
Gets a value indicating whether the provider supports the MoveFolder method. If a provider supports the MoveFolder method, the folder manager does not have to implement move by copying the folder and then deleting the original.

See Also