references:joomla.framework:client:jftp-restartrestart
This method restarts data transfer at the specified byte. This method returns true if successful, false otherwise. Syntaxboolean restart ( $point )
ExamplesExample jimport( 'joomla.connector.ftp' ); $ftp = new JFTP( array( 'type' => FTP_BINARY ) ); $ftp->connect( '127.0.0.1' ); $ftp->login( 'testuser', 'testpass' ); if ($ftp->restart( 19753 ) ) { echo "Restart successful!"; } else { echo "Restart failed!"; } might produce: Result Restart successful! NOTE: This example is untested. |


