sftp_path example

/** * Reads entire file into a string. * * @since 2.7.0 * * @param string $file Name of the file to read. * @return string|false Read data on success, false if no temporary file could be opened, * or if the file couldn't be retrieved. */
    public function get_contents( $file ) {
        return file_get_contents( $this->sftp_path( $file ) );
    }

    /** * Reads entire file into an array. * * @since 2.7.0 * * @param string $file Path to the file. * @return array|false File contents in an array on success, false on failure. */
    public function get_contents_array( $file ) {
        
Home | Imprint | This part of the site doesn't use cookies.