- GETTING STARTED
- GUIDES
- COMMANDS
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
- Miscellaneous
- OTHER
SETSPEED
Limit ScriptFTP's transfer speed
Syntax: SETSPEED(speed)
- speed: maximum speed allowed in KBytes/second.
Return value:
This command always returns "OK".
See also:
GETFILE
PUTFILE
SYNC
Example:
# 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

