src/sb/FTP/Client.php
public function size($remote_file)
    {
        $size = @ftp_size($this->connection, $remote_file);
        if ($size && $size != -1) {
            return $size;
        } else {
            throw new \Exception("Could not get remote file size: " . $path);
        }
    }
public function size($remote_file)
    {
        $size = @ftp_size($this->connection, $remote_file);
        if ($size && $size != -1) {
            return $size;
        } else {
            throw new \Exception("Could not get remote file size: " . $path);
        }
    }
public function size ( $ remote_file ) { $ size = @ ftp_size ( $ this -> connection , $ remote_file ) ; if ( $ size && $ size != - 1 ) { return $ size ; } else { throw new \ Exception ( "Could not get remote file size: " . $ path ) ; } }
Gets the size of a remote file
@param string $remote_file path to remote file
@return integer The size of the file in bytes
Gets the size of a remote file