Return
- Last Updated: April 16, 2025
- 1 minute read
- WS_FTP Pro
- Version 12.9
Return
The return statement acts like a function in that it takes a single parameter, either true or false to indicate success or failure. It terminates script execution and returns to the caller. If it returns true, the connection is assumed to be logged in and authorized. If it returns false, the caller may either try again or abandon the connection.