src/Clients/FtpClient.php
public function reinit()
	{
		// If native FTP support is enabled let's use it...
		if (FTP_NATIVE)
		{
			if (@ftp_site($this->conn, 'REIN') === false)
			{
				throw new FilesystemException(__METHOD__ . 'Bad response.');
			}

			return true;
		}

		// Send reinitialise command to the server
		if (!$this->_putCmd('REIN', 220))
		{
			throw new FilesystemException(sprintf('%1$s: Bad response.  Server response: %2$s [Expected: 220]', __METHOD__, $this->response));
		}

		return true;
	}
public function reinit()
	{
		// If native FTP support is enabled let's use it...
		if (FTP_NATIVE)
		{
			if (@ftp_site($this->conn, 'REIN') === false)
			{
				throw new FilesystemException(__METHOD__ . 'Bad response.');
			}

			return true;
		}

		// Send reinitialise command to the server
		if (!$this->_putCmd('REIN', 220))
		{
			throw new FilesystemException(sprintf('%1$s: Bad response.  Server response: %2$s [Expected: 220]', __METHOD__, $this->response));
		}

		return true;
	}
public function reinit ( ) { // If native FTP support is enabled let's use it... if ( FTP_NATIVE ) { if ( @ ftp_site ( $ this -> conn , 'REIN' ) === false ) { throw new FilesystemException ( __METHOD__ . 'Bad response.' ) ; } return true ; } // Send reinitialise command to the server if ( ! $ this -> _putCmd ( 'REIN' , 220 ) ) { throw new FilesystemException ( sprintf ( '%1$s: Bad response.  Server response: %2$s [Expected: 220]' , __METHOD__ , $ this -> response ) ) ; } return true ; }
Method to reinitialise the server, ie. need to login again

NOTE: This command not available on all servers

@return  boolean  True if successful

@since   1.0
@throws  FilesystemException
Method to reinitialise the server ie . need to login again