- GETTING STARTED
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
Set the maximum number of seconds that ScriptFTP waits for a server response.
- seconds: A number that indicates the amount of seconds.
Default timeout value is set to 45 seconds.Examples:
# Set the timeout value to 90 seconds
# This is a label. It marks a position in the script
# Connect to FTP server. The connection with this server is very bad.
# Download asd.zip
# If an error is got during the file download
# check if the connection is still alive, if not reconnect
IF($result!="OK" AND ISCONNECTED=="FALSE")
# Close the connection