The FileSystemUtils type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddAllUserReadPermission Obsolete.
Public methodStatic memberAddFile(String, Int32, Boolean, FolderInfo) Obsolete.
Adds a File
Public methodStatic memberAddFile(String, Int32, String, String, String) Obsolete.
Adds a File
Public methodStatic memberAddFolder(PortalSettings, String, String) Obsolete.
Adds a Folder
Public methodStatic memberAddFolder(PortalSettings, String, String, Int32) Obsolete.
Adds a Folder with a specificed unique identifier
Public methodStatic memberAddFolder(PortalSettings, String, String, Int32, Guid) Obsolete.
Public methodStatic memberAddToZip
Adds a File to a Zip File
Public methodStatic memberAddTrailingSlash Obsolete.
Public methodStatic memberAddUserFolder Obsolete.
Creates a User Folder
Public methodStatic memberCheckValidFileName Obsolete.
Public methodStatic memberCopyFile(String, String)
Trys to copy a file in the file system
Public methodStatic memberCopyFile(String, String, PortalSettings) Obsolete.
Copies a File
Public methodStatic memberCreateFileFromString Obsolete.
UploadFile pocesses a single file
Public methodStatic memberDefaultProtectedFolders Obsolete.
This checks to see if the folder is a protected type of folder
Public methodStatic memberDeleteFile(String)
Trys to delete a file from the file system
Public methodStatic memberDeleteFile(String, PortalSettings) Obsolete.
Deletes a file
Public methodStatic memberDeleteFile(String, PortalSettings, Boolean) Obsolete.
Deletes a file
Public methodStatic memberDeleteFiles
Public methodStatic memberDeleteFilesRecursive
Public methodStatic memberDeleteFileWithWait
Deletes file in areas with a high degree of concurrent file access (i.e. caching, logging) This solves file concurrency issues under heavy load.
Public methodStatic memberDeleteFolder Obsolete.
Deletes a folder
Public methodStatic memberDeleteFolderRecursive
Public methodStatic memberDownloadFile(String) Obsolete.
Moved directly from FileManager code, probably should make extension lookup more generic
Public methodStatic memberDownloadFile(Int32, Int32, Boolean, Boolean) Obsolete.
Streams a file to the output stream if the user has the proper permissions
Public methodStatic memberDownloadFile(PortalSettings, Int32, Boolean, Boolean) Obsolete.
Streams a file to the output stream if the user has the proper permissions
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 methodStatic memberFormatFolderPath Obsolete.
Public methodStatic memberGetContentType Obsolete.
gets the content type based on the extension
Public methodStatic memberGetFileContent(FileInfo) Obsolete.
Public methodStatic memberGetFileContent(FileInfo, Int32, String) Obsolete.
Public methodStatic memberGetFilesByFolder(Int32, Int32) Obsolete.
Public methodStatic memberGetFilesByFolder(Int32, String) Obsolete.
Public methodStatic memberGetFileStream(FileInfo) Obsolete.
Public methodStatic memberGetFileStream(FileInfo, Int32, String) Obsolete.
Public methodStatic memberGetFolder Obsolete.
Public methodStatic memberGetFolderPortalId Obsolete.
Public methodStatic memberGetFolders Obsolete.
Gets all the folders for a Portal
Public methodStatic memberGetFoldersByParentFolder Obsolete.
Gets all the subFolders for a Parent
Public methodStatic memberGetFoldersByUser(Int32, Boolean, Boolean, String) Obsolete.
Public methodStatic memberGetFoldersByUser(Int32, Boolean, Boolean, Boolean, String) Obsolete.
Public methodStatic memberGetHash(array<Byte>[]()[][]) Obsolete.
Public methodStatic memberGetHash(Stream) Obsolete.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetRoles Obsolete.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUserFolderPath Obsolete.
Public methodStatic memberMapPath Obsolete.
The MapPath method maps the specified relative or virtual path to the corresponding physical directory on the server.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMoveFile Obsolete.
Moves (Renames) a File
Public methodStatic memberPullFile Obsolete.
Public methodStatic memberReadFile
Public methodStatic memberReceiveFile Obsolete.
Public methodStatic memberRemoveOrphanedFolders Obsolete.
Public methodStatic memberRemoveTrailingSlash Obsolete.
Public methodStatic memberSaveFile Obsolete.
Public methodStatic memberSendFile Obsolete.
Public methodStatic memberSetFileAttributes Obsolete.
Assigns 1 or more attributes to a file
Public methodStatic memberSetFolderPermission(Int32, Int32, Int32, Int32, String) Obsolete.
Sets a Folders Permissions the same as the Folders parent folder
Public methodStatic memberSetFolderPermission(Int32, Int32, Int32, Int32, Int32, String) Obsolete.
Public methodStatic memberSetFolderPermissions(Int32, Int32, String) Obsolete.
Public methodStatic memberSetFolderPermissions(Int32, Int32, Int32, String) Obsolete.
Sets a Folders Permissions to the Administrator Role
Public methodStatic memberStripFolderPath Obsolete.
Public methodStatic memberSynchronize(Int32, Int32, String) Obsolete.
Public methodStatic memberSynchronize(Int32, Int32, String, Boolean) Obsolete.
Public methodStatic memberSynchronizeFolder(Int32, String, String, Boolean) Obsolete.
Public methodStatic memberSynchronizeFolder(Int32, String, String, Boolean, Boolean) Obsolete.
Public methodStatic memberSynchronizeFolder(Int32, Int32, String, String, String, Boolean) Obsolete.
Public methodStatic memberSynchronizeFolder(Int32, String, String, Boolean, Boolean, Boolean) Obsolete.
Public methodStatic memberSynchronizeFolder(Int32, String, String, Boolean, Boolean, Boolean, Boolean) Obsolete.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnzipFile Obsolete.
Public methodStatic memberUnzipResources
Public methodStatic memberUploadFile(String, HttpPostedFile) Obsolete.
Public methodStatic memberUploadFile(String, HttpPostedFile, Boolean) Obsolete.
Public methodStatic memberUploadFile(String, HttpPostedFile, String) Obsolete.
Public methodStatic memberUploadFile(String, HttpPostedFile, String, Boolean) Obsolete.
Public methodStatic memberWriteFile Obsolete.

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.)

See Also