SmartFTP FTP Library
ISFTPSpaceAvailable Interface Reference

import "sfFTPLib.idl";

Properties

ULONGLONG BytesOnDevice [get]
 The total capacity of the physical storage device in bytes.
ULONGLONG UnusedBytesOnDevice [get]
 The total amount of unused (free) space on the device in bytes.
ULONGLONG BytesAvailableToUser [get]
 The total storage quota or limit assigned to the current user in bytes.
ULONGLONG UnusedBytesAvailableToUser [get]
 The actual amount of space the current user can write to in bytes.
long BytesPerAllocationUnit [get]
 The size of a single allocation unit (cluster) in bytes.

Property Documentation

◆ BytesAvailableToUser

ULONGLONG ISFTPSpaceAvailable::BytesAvailableToUser
getproperty

The total storage quota or limit assigned to the current user in bytes.

◆ BytesOnDevice

ULONGLONG ISFTPSpaceAvailable::BytesOnDevice
getproperty

The total capacity of the physical storage device in bytes.

◆ BytesPerAllocationUnit

long ISFTPSpaceAvailable::BytesPerAllocationUnit
getproperty

The size of a single allocation unit (cluster) in bytes.

◆ UnusedBytesAvailableToUser

ULONGLONG ISFTPSpaceAvailable::UnusedBytesAvailableToUser
getproperty

The actual amount of space the current user can write to in bytes.

This is the most important property for pre-upload checks. It accounts for both disk fullness and user-specific quotas.

◆ UnusedBytesOnDevice

ULONGLONG ISFTPSpaceAvailable::UnusedBytesOnDevice
getproperty

The total amount of unused (free) space on the device in bytes.


The documentation for this interface was generated from the following file: