Closed phazei closed 9 years ago
The default connection timeout is 90 which is really long for most cases. Added ability to set the timeout before the connection id is retrieved.
Also, if it does timeout, ftp_login throws an error because the first parameter is incorrect, so now it checks before attempting to login.
@phazei thanks for your efforts :)
The default connection timeout is 90 which is really long for most cases. Added ability to set the timeout before the connection id is retrieved.
Also, if it does timeout, ftp_login throws an error because the first parameter is incorrect, so now it checks before attempting to login.