SmartFTP FTP Library
IGlobalSpeedLimit Interface Reference

import "sfFTPLib.idl";

Properties

long UploadSpeedLimit [get, set]
 Sets or retrieves the maximum upload speed.
long DownloadSpeedLimit [get, set]
 Sets or retrieves the maximum download speed.

Property Documentation

◆ DownloadSpeedLimit

long IGlobalSpeedLimit::DownloadSpeedLimit
getsetproperty

Sets or retrieves the maximum download speed.

Limits the rate at which data is received from the remote server.

Unit: Bytes per second.

  • Example: 1048576 = 1 MB/s.
  • 0 = Unlimited.
Parameters
[in]newValueThe maximum bytes per second allowed for downloads.
[out]retvalReceives the current limit.

◆ UploadSpeedLimit

long IGlobalSpeedLimit::UploadSpeedLimit
getsetproperty

Sets or retrieves the maximum upload speed.

Limits the rate at which data is sent to the remote server.

Unit: Bytes per second.

  • Example: 102400 = 100 KB/s.
  • 0 = Unlimited.
Parameters
[in]newValueThe maximum bytes per second allowed for uploads.
[out]retvalReceives the current limit.

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