Platforms to show: All Mac Windows Linux Cross-Platform
Files
Functions and classes for handling files and volumes.
- Screenshots
- Globals
- ExchangeFilesMBS(first as folderitem, second as folderitem) as Integer
- FolderItemToPathMBS(file as folderitem) as string
- GetDriveTypeMBS(path as string) as Integer
- MountMBS(URL as String, Dest as string = "", Username as String, Password as String, Interactive as boolean = false, Prompt as boolean = false, byref ErrorCode as Integer, Threaded as boolean = false) as String
- MountPathMBS(Path as String) as String
- MountPathMBS(Volume as FolderItem) as String
- NewFolderItemFromAbsolutePathMBS(AbsolutePath as string) as FolderItem
- NewFolderItemMBS(vRefNum as Integer, parID as Integer, name as String) as FolderItem
- NewVolumeFolderItemMBS(vRefNum as Integer) as FolderItem
- PathToFolderItemMBS(path as string) as folderitem
- SetCurrentWorkingDirectoryMBS(path as folderitem) as boolean
- UnmountMBS(Path as String, force as boolean = false) as Boolean
- UnmountMBS(Volume as FolderItem, force as boolean = false) as Boolean
- VolResolveIDMBS(volume as FolderItem, id as Integer) as FolderItem
- VolResolveIDMBS(vRefNum as Integer, id as Integer) as FolderItem
- VolumeFreeSizePathMBS(Path as String) as Int64
- VolumeSizePathMBS(Path as String) as Int64
- WindowsEjectVolumeMBS(driveLetter as string, byref status as Integer) as boolean
- Classes
- class ACLEntryMBS
- method Constructor
- method Copy(dest as ACLEntryMBS)
- shared method GIDtoUUID(GID as Integer) as memoryblock
- shared method GroupFromGID(GID as Integer) as string
- method MaximalPermsetMask as UInt64
- shared method UIDtoUUID(UID as Integer) as memoryblock
- shared method UserFromUID(UID as Integer) as string
- shared method UUIDtoID(UUID as memoryblock, byref ID as Integer, byref Type as Integer) as boolean
- property Handle as Integer
- property Lasterror as Integer
- property Parent as Variant
- property FlagSet as ACLFlagSetMBS
- property PermSet as ACLPermSetMBS
- property PermSetMask as UInt64
- property Qualifier as Memoryblock
- property TagType as Integer
- class ACLFlagSetMBS
- class ACLPermSetMBS
- class ACLRightMBS
- method Constructor(count as Integer)
- method Constructor(text as string)
- method CopyData(Native as boolean = false) as String
- method CreateEntry as ACLEntryMBS
- method CreateEntry(entryIndex as Integer, tag_type as Integer = 1) as ACLEntryMBS
- method DeleteEntry(entry as ACLEntryMBS)
- method Duplicate as ACLRightMBS
- method Entries as ACLEntryMBS()
- method Entry(entryIndex as Integer) as ACLEntryMBS
- shared method NewACL(count as Integer) as ACLRightMBS
- shared method NewACLFromExternal(data as string, native as boolean = false) as ACLRightMBS
- shared method NewACLFromFile(file as folderitem, type as Integer) as ACLRightMBS
- shared method NewACLFromFile(path as string, type as Integer) as ACLRightMBS
- shared method NewACLFromFilePointer(FilePointer as Integer) as ACLRightMBS
- shared method NewACLFromFilePointer(FilePointer as Integer, type as Integer) as ACLRightMBS
- shared method NewACLFromLink(path as string, type as Integer) as ACLRightMBS
- shared method NewACLFromText(text as string) as ACLRightMBS
- method SetFile(Path as string, type as Integer) as boolean
- method SetFilePointer(FilePointer as Integer) as boolean
- method SetFilePointer(FilePointer as Integer, type as Integer) as boolean
- method SetLink(Path as string, type as Integer) as boolean
- method Size as Int64
- method Text as String
- method Valid as boolean
- method ValidFile(Path as string, type as Integer) as boolean
- method ValidFilePointer(FilePointer as Integer, type as Integer) as boolean
- property Handle as Integer
- property Lasterror as Integer
- property FlagSet as ACLFlagSetMBS
- class CopyFileMBS
- method CopyFile(From as FolderItem, Dest as FolderItem, flags as Integer) as Integer
- method CopyFile(From as String, Dest as String, flags as Integer) as Integer
- shared method ErrorMessage(error as Integer) as String
- property BytesCopied as Int64
- property WasCloned as Boolean
- property XAttrName as String
- property YieldTicks as Integer
- event Progress(What as Integer, Stage as Integer, Source as String, Dest as String) as Integer
- class DADiskMBS
- method BSDName as string
- method Constructor
- shared method CreateFromBSDName(session as DASessionMBS, name as string) as DADiskMBS
- shared method CreateFromVolume(session as DASessionMBS, volume as folderitem) as DADiskMBS
- shared method CreateFromVolumePath(session as DASessionMBS, path as string) as DADiskMBS
- method Description as dictionary
- shared method kDADiskDescriptionBusNameKey as string
- shared method kDADiskDescriptionBusPathKey as string
- shared method kDADiskDescriptionDeviceGUIDKey as string
- shared method kDADiskDescriptionDeviceInternalKey as string
- shared method kDADiskDescriptionDeviceModelKey as string
- shared method kDADiskDescriptionDevicePathKey as string
- shared method kDADiskDescriptionDeviceProtocolKey as string
- shared method kDADiskDescriptionDeviceRevisionKey as string
- shared method kDADiskDescriptionDeviceUnitKey as string
- shared method kDADiskDescriptionDeviceVendorKey as string
- shared method kDADiskDescriptionMediaBlockSizeKey as string
- shared method kDADiskDescriptionMediaBSDMajorKey as string
- shared method kDADiskDescriptionMediaBSDMinorKey as string
- shared method kDADiskDescriptionMediaBSDNameKey as string
- shared method kDADiskDescriptionMediaBSDUnitKey as string
- shared method kDADiskDescriptionMediaContentKey as string
- shared method kDADiskDescriptionMediaEjectableKey as string
- shared method kDADiskDescriptionMediaIconKey as string
- shared method kDADiskDescriptionMediaKindKey as string
- shared method kDADiskDescriptionMediaLeafKey as string
- shared method kDADiskDescriptionMediaNameKey as string
- shared method kDADiskDescriptionMediaPathKey as string
- shared method kDADiskDescriptionMediaRemovableKey as string
- shared method kDADiskDescriptionMediaSizeKey as string
- shared method kDADiskDescriptionMediaTypeKey as string
- shared method kDADiskDescriptionMediaUUIDKey as string
- shared method kDADiskDescriptionMediaWholeKey as string
- shared method kDADiskDescriptionMediaWritableKey as string
- shared method kDADiskDescriptionVolumeKindKey as string
- shared method kDADiskDescriptionVolumeMountableKey as string
- shared method kDADiskDescriptionVolumeNameKey as string
- shared method kDADiskDescriptionVolumeNetworkKey as string
- shared method kDADiskDescriptionVolumePathKey as string
- shared method kDADiskDescriptionVolumeUUIDKey as string
- method Options as Integer
- method SetOptions(options as Integer, value as boolean) as Integer
- method WholeDisk as DADiskMBS
- property Handle as Integer
- class DADissenterMBS
- method Constructor(status as Integer, s as string)
- property Handle as Integer
- property Status as Integer
- property StatusString as String
- class DarwinChmodMBS
- method chflags(path as string, flags as Integer) as Integer
- method chmod(path as string, mode as Integer) as Integer
- method chown(path as string, uid as Integer, gid as Integer) as Integer
- method error as Integer
- method lstat(path as string) as Integer
- method stat(path as string) as Integer
- property blocks as Double
- property blocksize as Integer
- property dev as Integer
- property flags as Integer
- property gen as Integer
- property gid as Integer
- property ino as Integer
- property mode as Integer
- property nlink as Integer
- property rdev as Integer
- property size as Double
- property uid as Integer
- class DarwinIFStatInterfaceMBS
- property Baudrate as UInt32
- property Collisions as UInt64
- property InputBytes as UInt64
- property InputErrors as UInt64
- property InputMulticasts as UInt64
- property InputPackets as UInt64
- property MTU as UInt32
- property Name as String
- property OutputBytes as UInt64
- property OutputErrors as UInt64
- property OutputMulticasts as UInt64
- property OutputPackets as UInt64
- property PhysicalType as Integer
- property Type as Integer
- class DarwinIFStatMBS
- method Item(index as Integer) as DarwinIFStatInterfaceMBS
- method Update as boolean
- property Count as Integer
- class DASessionMBS
- method Constructor
- method Eject(disk as DADiskMBS, options as Integer = 0)
- method IsClaimed(disk as DADiskMBS) as boolean
- method Mount(disk as DADiskMBS, path as string, options as Integer = 0)
- method MountWithArguments(disk as DADiskMBS, path as string, arguments() as string, options as Integer = 0)
- method Rename(disk as DADiskMBS, name as string, options as Integer = 0)
- method Unclaim(disk as DADiskMBS)
- method Unmount(disk as DADiskMBS, options as Integer = 0)
- property Handle as Integer
- event Appeared(disk as DADiskMBS)
- event DescriptionChanged(disk as DADiskMBS, keys() as string)
- event Disappeared(disk as DADiskMBS)
- event Ejected(disk as DADiskMBS, dissenter as DADissenterMBS)
- event Mounted(disk as DADiskMBS, dissenter as DADissenterMBS)
- event Peek(disk as DADiskMBS)
- event Renamed(disk as DADiskMBS, dissenter as DADissenterMBS)
- event Unmounted(disk as DADiskMBS, dissenter as DADissenterMBS)
- class DirectorySizeMBS
- method Add(d as DirectorySizeMBS)
- method close
- method Constructor
- method Update(folder as folderitem, recursive as boolean, ticks as Integer) as boolean
- property Cancel as Boolean
- property CompressedSize as UInt64
- property CountBundlesAsItem as Boolean
- property Directory as FolderItem
- property FilesCount as UInt64
- property FolderCount as UInt64
- property HiddenCompressedSize as UInt64
- property HiddenFilesCount as Integer
- property HiddenFolderCount as Integer
- property HiddenItemCount as UInt64
- property HiddenLogicalDataForkSize as UInt64
- property HiddenLogicalResourceForkSize as UInt64
- property HiddenLogicalTotalSize as UInt64
- property HiddenPhysicalDataForkSize as UInt64
- property HiddenPhysicalResourceForkSize as UInt64
- property HiddenPhysicalTotalSize as UInt64
- property IgnoreHiddenFolderContent as Boolean
- property ItemCount as UInt64
- property LogicalDataForkSize as UInt64
- property LogicalResourceForkSize as UInt64
- property LogicalTotalSize as UInt64
- property PhysicalDataForkSize as UInt64
- property PhysicalResourceForkSize as UInt64
- property PhysicalTotalSize as UInt64
- property QueryCompressedSizes as Boolean
- property RecursionLimit as Integer
- property RecursionMaxLevel as Integer
- property VisibleCompressedSize as UInt64
- property VisibleFilesCount as Integer
- property VisibleFolderCount as Integer
- property VisibleItemCount as UInt64
- property VisibleLogicalDataForkSize as UInt64
- property VisibleLogicalResourceForkSize as UInt64
- property VisibleLogicalTotalSize as UInt64
- property VisiblePhysicalDataForkSize as UInt64
- property VisiblePhysicalResourceForkSize as UInt64
- property VisiblePhysicalTotalSize as UInt64
- property YieldTicks as Integer
- class FileListMBS
- method AttributeModificationDate(index as Integer) as Double
- method AttributeModificationDate(index as Integer, UTC as boolean) as Date
- method AttributeModificationDateTime(index as integer, UTC as boolean) as DateTime
- method BackupDate(index as Integer) as Double
- method BackupDate(index as Integer, UTC as boolean) as Date
- method BackupDateTime(index as integer, UTC as boolean) as DateTime
- method CFURL(index as integer) as Variant
- method Close
- method Constructor
- method Constructor(filelist as FileListMBS, index as Integer, WinFilter as string = "", SkipMode as Integer = 0)
- method Constructor(folder as folderitem, WinFilter as string = "", SkipMode as Integer = 0)
- method Constructor(Path as String, WinFilter as string = "", SkipMode as Integer = 0)
- method CreationDate(index as Integer) as Double
- method CreationDate(index as Integer, UTC as boolean) as Date
- method CreationDateTime(index as integer, UTC as boolean) as DateTime
- method Directory(index as Integer) as boolean
- method DisplayName(index as Integer) as string
- method FinderFlags(index as Integer) as Integer
- method IsBundle(index as Integer) as Boolean
- method IsHardLinked(index as Integer) as boolean
- method Item(index as Integer) as folderitem
- method ItemPath(index as Integer) as string
- method LastAccessDate(index as Integer) as Double
- method LastAccessDate(index as Integer, UTC as boolean) as Date
- method LastAccessDateTime(index as integer, UTC as boolean) as DateTime
- method LogicalDataLength(index as Integer) as Int64
- method LogicalResourceLength(index as Integer) as Int64
- method ModificationDate(index as Integer) as Double
- method ModificationDate(index as Integer, UTC as boolean) as Date
- method ModificationDateTime(index as integer, UTC as boolean) as DateTime
- method Name(index as Integer) as string
- method NodeID(index as Integer) as Int64
- method ParentDirectoryID(index as Integer) as Int64
- method PhysicalDataLength(index as Integer) as Int64
- method PhysicalResourceLength(index as Integer) as Int64
- method SortByCreationDate
- method SortByFileName
- method SortByModificationDate
- method TrueItem(index as Integer) as folderitem
- method Visible(index as Integer) as boolean
- method WinFileAttributes(index as Integer) as Integer
- shared property Cancel as Boolean
- property Count as Integer
- property Folder as FolderItem
- property OK as Boolean
- property Path as String
- shared property Threaded as Boolean
- property TotalLogicalDataLength as Int64
- property TotalLogicalResourceLength as Int64
- property TotalPhysicalDataLength as Int64
- property TotalPhysicalResourceLength as Int64
- shared property YieldTicks as Integer
- class FinderSelectionMBS
- method CountItems as Integer
- method GetSelection
- method Item(index as Integer) as folderitem
- property LastError as Integer
- class LargeBinaryStreamMBS
- method Allocate(count as int64, flags as Integer) as int64
- method close
- shared method Create(file as folderitem, MacType as string, MacCreator as string) as LargeBinaryStreamMBS
- shared method Create(path as string, MacType as string, MacCreator as string, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method CreateResStream(file as folderitem, MacType as string, MacCreator as string) as ResStreamMBS
- shared method CreateResStream(path as string, MacType as string, MacCreator as string) as ResStreamMBS
- shared method DeleteDataFork(file as folderitem)
- shared method DeleteResourceFork(file as folderitem)
- method Flush
- method LockFileExclusive as boolean
- shared method Open(file as folderitem, write as Boolean) as LargeBinaryStreamMBS
- shared method Open(path as string, write as Boolean, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method OpenAsResStream(file as folderitem, write as Boolean) as ResStreamMBS
- shared method OpenAsResStream(path as string, write as Boolean) as ResStreamMBS
- method QueryDiskGeometry(byref Cylinders as Int64, byref MediaType as Integer, byref TracksPerCylinder as Integer, byref SectorsPerTrack as Integer, byref BytesPerSector as Integer) as boolean
- method Read(count as Integer) as string
- method ReadBlock(count as Integer) as memoryblock
- method Readbyte as Integer
- method ReadLong as Integer
- method ReadShort as Integer
- method UnlockFileExclusive as boolean
- shared method WinCreateStream(file as folderitem, StreamName as String, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method WinDeleteStream(file as folderitem, StreamName as String) as boolean
- shared method WinOpenStream(file as folderitem, StreamName as String, write as Boolean, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- method Write(data as string)
- method WriteBlock(data as memoryblock,count as Integer)
- method WriteByte(data as Integer)
- method WriteLong(data as Integer)
- method WriteShort(data as Integer)
- property CanWrite as boolean
- property EOF as boolean
- property Lasterror as Integer
- property Length as Int64
- property LittleEndian as boolean
- property Position as Int64
- property Yield as Boolean
- class MacFileOperationMBS
- method Cancel
- method CopyObject(Item as folderitem, DestinationFolder as folderitem, DestinationName as string, Options as Integer, statusChangeInterval as Double)
- shared method CopyObjectSync(SourceItem as folderitem, DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MoveObject(Item as folderitem, DestinationFolder as folderitem, DestinationName as string, Options as Integer, statusChangeInterval as Double)
- shared method MoveObjectSync(SourceItem as folderitem, DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MoveObjectToTrash(Item as folderitem, Options as Integer, statusChangeInterval as Double)
- shared method MoveObjectToTrashSync(SourceItem as folderitem, byref Result as folderitem, Options as Integer) as Integer
- method Status as MacFileOperationStatusMBS
- property Handle as Integer
- property LastError as Integer
- event StatusChanged(status as MacFileOperationStatusMBS)
- class MacFileOperationStatusMBS
- property BytesComplete as Int64
- property BytesRemaining as Int64
- property CurrentItem as FolderItem
- property Dictionary as Dictionary
- property Error as Integer
- property Handle as Integer
- property ObjectsComplete as Int64
- property ObjectsRemaining as Int64
- property Stage as Integer
- property Throughput as Int64
- property TotalBytes as Int64
- property TotalObjects as Int64
- property TotalUserVisibleObjects as Int64
- property UserVisibleObjectsComplete as Int64
- property UserVisibleObjectsRemaining as Int64
- class MacQuarantinePropertiesMBS
- class NetFSMountMBS
- method Cancel
- method MountURLAsync(URL as String, MountPath as String = "", User as String = "", Password as String = "", OpenOptions as Dictionary = nil, MountOptions as Dictionary = nil) as Integer
- method MountURLSync(URL as String, MountPath as String = "", User as String = "", Password as String = "", OpenOptions as Dictionary = nil, MountOptions as Dictionary = nil, byref MountPoints() as String) as Integer
- shared method URLForRemountingVolume(path as String) as String
- shared method URLForRemountingVolume(vol as FolderItem) as String
- shared method URLProbe(hostname as String) as String
- property Handle as Integer
- property Lasterror as Integer
- event MountURLAsyncCompleted(status as Integer, URL as String, mountpoints() as String)
- class PermissionsMBS
- method SetPermissions(OldWay as boolean) as Integer
- property Access as Integer
- property GroupID as Integer
- property Mode as Integer
- property UserID as Integer
- class ResourceForkMBS
- method AddResource(Data as Memoryblock, ResourceType as String, ID as Integer, Name as String)
- method AddResource(Data as String, ResourceType as String, ID as Integer, Name as String)
- method Close
- method Constructor
- shared method Create(file as folderitem, UseDataFork as boolean = false) as ResourceForkMBS
- method GetIndResource(ResourceType as String, index as Integer) As String
- method GetNamedResource(ResourceType as String, Name as String) As String
- method GetResource(ResourceType as String, ID as Integer) As String
- method GetResourceMemory(ResourceType as String, ID as Integer) As Memoryblock
- shared method Open(file as folderitem, Write as boolean, UseDataFork as boolean = false) as ResourceForkMBS
- method RemoveResource(ResourceType as String, ID as Integer)
- method ResourceCount(ResourceType as String) as Integer
- method ResourceID(ResourceType as String, index as Integer) as Integer
- method ResourceName(ResourceType as String, index as Integer) As String
- method ResourceSizeOnDisk(ResourceType as String, ID as Integer) as Integer
- method ResourceType(index as Integer) As String
- method UniqueID(ResourceType as String) as Integer
- property Handle as Integer
- property LastError as Integer
- property Modified as Boolean
- property TypeCount as Integer
- property Writable as Boolean
- property ResourceAttributes(ResourceType as String, ID as Integer) as Integer
- property ResourceLocked(ResourceType as String, ID as Integer) as boolean
- property ResourcePreload(ResourceType as String, ID as Integer) as boolean
- property ResourceProtected(ResourceType as String, ID as Integer) as boolean
- property ResourcePurgeable(ResourceType as String, ID as Integer) as boolean
- property ResourceSysHeap(ResourceType as String, ID as Integer) as boolean
- class ResStreamMBS
- class StdinMBS
- shared method AttachConsole(ProcessID as Integer = -1) as Integer
- shared method Flush
- shared method FreeConsole as Integer
- shared method GetCharacter as Integer
- shared method Read(count as Integer) as string
- shared method ReadDouble(byref value as Double) as Integer
- shared method ReadInteger(byref value as Integer) as Integer
- shared method ReadString(byref value as string) as Integer
- shared property Echo as Boolean
- shared property IsReady as boolean
- class StdoutMBS
- shared method AttachConsole(ProcessID as Integer = -1) as Integer
- shared method Flush
- shared method FreeConsole as Integer
- shared method Write(data as string)
- class VolumeInformationMBS
- method Constructor
- property Blocksize as Integer
- property DataForkClumpSize as Integer
- property DefaultVolume as boolean
- property DriveNumber as Integer
- property DriverRefNum as Integer
- property FileCount as Integer
- property FilesOpen as boolean
- property FileSystemID as Integer
- property FolderCount as Integer
- property freeBlocks as Int64
- property Freebytes as Int64
- property HardwareLocked as boolean
- property LimitedInformation as boolean
- property Name as String
- property NextAllocation as Integer
- property NextCatalogID as Integer
- property ResourceForkClumpSize as Integer
- property Root as FolderItem
- property RootFSRef as memoryblock
- property Signature as Integer
- property SoftwareLocked as boolean
- property Totalblocks as Int64
- property Totalbytes as Int64
- class WindowsDiskChangeMBS
- method Constructor
- property Valid as Boolean
- event DriveAdded(Path as string)
- event DriveRemoved(Path as string)
- event MediaInserted(Path as string)
- event MediaRemoved(Path as string)
- class WindowsDriveNotificationMBS
- event DeviceArrival(Path as string)
- event DeviceRemoved(Path as string)
- class WindowsVolumeInformationMBS
- method Constructor
- method Constructor(path as string)
- property CaseIsPreserved as boolean
- property CaseSensitive as boolean
- property FileSystemName as string
- property IsCompressedVolume as boolean
- property MaxNameLength as Integer
- property Name as string
- property Path as string
- property Serial as Integer
- property SupportsFileCompression as boolean
- property SupportsFileEncryption as boolean
- property SupportsUnicodeFilenames as boolean
- property Valid as boolean
- class ACLEntryMBS
- Class Extensions
- class FolderItem
- method AbsolutePath as string
- method AbsolutePathMBS as string
- method BackupIsItemExcludedMBS(byref excludeByPath as boolean) as boolean
- method BackupSetItemExcludedMBS(exclude as boolean, excludeByPath as boolean) as Integer
- method CalculateDirectorySizeMBS(recursive as boolean = false, ticks as Integer = 0, QueryCompressedSizes as boolean = false, RecursionLimit as Integer = -1) as DirectorySizeMBS
- method CompressedFileLengthMBS as int64
- method CreateLargeBinaryStreamMBS(MacType as string, MacCreator as string) as LargeBinaryStreamMBS
- method CreateResStreamMBS(MacType as string, MacCreator as string) as ResStreamMBS
- method CreatorAppMBS as FolderItem
- method CreatorAppMBS(creatorCode as String) as FolderItem
- method DarwinMediaClassMBS as string
- method DarwinMediaInfoMBS as CFDictionaryMBS
- method DarwinVolumeNameMBS as string
- method DeleteDataForkMBS
- method DeleteResourceForkMBS
- method DisplayPathMBS(delimiter as string = "/") as string
- method EjectVolumeMBS(force as boolean, byref dissenterPID as Integer) as Integer
- method FilesMBS as FolderItem()
- method FlushVolumeMBS as Integer
- method FoldersMBS as FolderItem()
- method GetFileFlagsMBS as Integer
- method GetFolderFlagsMBS as Integer
- method GetVolumeRefMBS as Integer
- method IsCompressedFileMBS as Boolean
- method IsEjectableVolumeMBS as Boolean
- method IsEncryptedFileMBS as Boolean
- method IsFileDataForkOpenReadWriteMBS as boolean
- method IsFileResourceForkOpenReadWriteMBS as boolean
- method IsOnRemoteVolumeMBS as Boolean
- method ItemsMBS as FolderItem()
- method KindMBS as string
- method LaunchMBS(inFront as Boolean) as Boolean
- method LogicalFileDataLengthMBS as int64
- method LogicalFileResLengthMBS as int64
- method LogicalFileTotalLengthMBS as int64
- method LongPathMBS as string
- method MacCopyObjectMBS(DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MacIsHardLinkedMBS as boolean
- method MacMoveObjectMBS(DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MacMoveObjectToTrashMBS(byref Result as folderitem, Options as Integer) as Integer
- method MacNodeIDMBS as UInt64
- method MacParentDirectoryIDMBS as UInt64
- method MacResolveNodeIDMBS(NodeID as UInt64) as folderitem
- method NameExtensionMBS as string
- method NameWithoutExtensionMBS as string
- method NativePath as string
- method OpenAsLargeBinaryStreamMBS(write as Boolean) as LargeBinaryStreamMBS
- method OpenAsResStreamMBS(write as Boolean) as ResStreamMBS
- method OpenWithAppMBS(TheApplication as FolderItem, inFront as Boolean) as Boolean
- method ParentVolumeMBS as folderitem
- method PermissionsMBS(OldWay as boolean) as PermissionsMBS
- method PhysicalFileDataLengthMBS as int64
- method PhysicalFileResLengthMBS as int64
- method PhysicalFileTotalLengthMBS as int64
- method ReadFileMBS(byref data as MemoryBlock, offset As Integer = 0, byteCount As Integer = -1) as boolean
- method ReadFileMBS(byref data as string, offset As Integer = 0, byteCount As Integer = -1) as boolean
- method SetFileFlagsMBS(flags as Integer) as Integer
- method SetFolderFlagsMBS(flags as Integer) as Integer
- method SetTagNamesMBS(tags() as string) as Integer
- method SetTagNamesMBS(tags() as string, byref e as CFErrorMBS) as Integer
- method ShortPathMBS as string
- method SortedFilesMBS(followAlias as Boolean = false, SortByDisplayName as boolean = false, VisibleOnly as boolean = false) as FolderItem()
- method SortedFoldersMBS(followAlias as Boolean = false, SortByDisplayName as boolean = false, VisibleOnly as boolean = false) as FolderItem()
- method SortedItemsMBS(followAlias as Boolean = false, SortByDisplayName as boolean = false, VisibleOnly as boolean = false) as FolderItem()
- method TagNamesMBS as string()
- method TagNamesMBS(byref e as CFErrorMBS) as string()
- method TrueFilesMBS as FolderItem()
- method TrueFoldersMBS as FolderItem()
- method TrueItemsMBS as FolderItem()
- method UnixpathMBS as string
- method UnMountVolumeMBS(force as boolean = false) as Integer
- method UnMountVolumeMBS(force as boolean, byref dissenterPID as Integer) as Integer
- method VolGetFolderItemIDMBS(createFileIDs as Boolean = true) as Integer
- method VolumeFreeSizeMBS as Int64
- method VolumeInformationMBS as VolumeInformationMBS
- method VolumeSizeMBS as Int64
- method VolumeSupportsHugeFilesMBS as Integer
- method VolumeUUIDMBS as string
- method WinThumbnailMBS(preferredSize as Integer = 512) as picture
- method WriteFileMBS(data as MemoryBlock) as boolean
- method WriteFileMBS(data as string) as boolean
- class FolderItem
- Modules
- module ExtendedAttributesMBS
- method Available as boolean
- method GetAttribute(path as folderitem, name as string, options as Integer = 0) as Variant
- method GetAttribute(path as string, name as string, options as Integer = 0) as Variant
- method GetRawAttribute(path as folderitem, name as string, options as Integer = 0) as memoryblock
- method GetRawAttribute(path as string, name as string, options as Integer = 0) as memoryblock
- method LastError as Integer
- method LastErrorMessage as string
- method ListAttributes(path as folderitem, Options as Integer = 0) as string()
- method ListAttributes(path as string, Options as Integer = 0) as string()
- method RemoveAttribute(path as folderitem, name as string, options as Integer = 0) as boolean
- method RemoveAttribute(path as string, name as string, options as Integer = 0) as boolean
- method SetAttribute(path as folderitem, name as string, data as Variant, options as Integer = 0) as boolean
- method SetAttribute(path as string, name as string, data as Variant, options as Integer = 0) as boolean
- method SetRawAttribute(path as folderitem, name as string, data as memoryblock, options as Integer = 0) as boolean
- method SetRawAttribute(path as string, name as string, data as memoryblock, options as Integer = 0) as boolean
- const kAttributeNameFinderComment = "com.apple.metadata:kMDItemFinderComment"
- const kAttributeNameFinderInfo = "com.apple.FinderInfo"
- const kAttributeNameResourceFork = "com.apple.ResourceFork"
- module WindowsJunctionMBS
- method CreateHardLink(NewFile as folderitem, TargetFile as folderitem) as boolean
- method CreateJunction(JunctionDir as folderitem, TargetDir as folderitem) as boolean
- method CreateSymbolicLink(NewFile as folderitem, TargetFile as folderitem) as boolean
- method CreateSymbolicLink(NewFile as folderitem, TargetFile as string, TargetIsDirectory as Boolean) as boolean
- method DeleteJunction(JunctionDir as folderitem) as boolean
- method GetJunctionTarget(JunctionDir as folderitem) as string
- method HardLinksForFile(path as string) as string()
- method IsDirectoryJunction(JunctionDir as folderitem) as boolean
- method Lasterror as Integer
- module ExtendedAttributesMBS
- Blog Entries
Release notes
- Version 22.5
- Added Cancel property for FileListMBS class.
- Added Threaded property to FileListMBS class.
- Deprecated Creator and Type functions in FileListMBS class.
- Version 22.4
- Added iOS support for DirectorySizeMBS class.
- Version 21.5
- Changed PermissionsMBS class to be marked as console safe.
- Version 21.2
- Fixed a memory leak in FileListMBS class for Windows.
- Fixed a problem with TrueItem() function in FileListMBS not working right for alias files.
- Version 21.0
- Deprecated HFSUniStr255 and FSRef for FileListMBS class.
- Version 20.5
- Added Windows support for isReady property in StdInMBS class.
- Version 20.3
- Added Dictionary property to MacFileOperationStatusMBS class.
- Added VolumeSizePathMBS and VolumeFreeSizePathMBS functions taking path.
- Version 20.1
- Added SkipMode parameter to constructors for FileListMBS class to skip over files/folders and hidden items.
- Fixed FileListMBS to not report logical file sizes correctly for newer Mac implementation.
- Version 19.5
- Added NewFolderItemFromAbsolutePathMBS function.
- Updated ResourceForkMBS class to work on 64-bit.
The items on this page are in the following plugins: MBS MacCF Plugin, MBS MacClassic Plugin, MBS MacFrameworks Plugin, MBS MacOSX Plugin, MBS Util Plugin, MBS Win Plugin.