Syntax:

SETSPEED(speed)

  • speed: maximum speed allowed in KBytes/second.

Return value:

This command always returns “OK”.

See also:

GETFILE
PUTFILE
SYNC

Examples:

# Connect to ftp.myhost.com as myuser and download all files
OPENHOST("ftp.myhost.com","myuser","mypassword")
# Limit the maximun transfer speed
SETSPEED(20)
GETFILE("*.*",SUBDIRS)
CLOSEHOST