src/Biz/Util/Phpsec/Net/SFTP/Stream.php

(开头部分) 1000B

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

/**
 * SFTP Stream Wrapper.
 *
 * Creates an sftp:// protocol handler that can be used with, for example, fopen(), dir(), etc.
 *
 * PHP version 5
 *
 * @category  Net
 *
 * @author    Jim Wigginton <terrafrost@php.net>
 * @copyright 2013 Jim Wigginton
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
 *
 * @see      http://phpseclib.sourceforge.net
 */

namespace Biz\Util\Phpsec\Net\SFTP;

use Biz\Util\Phpsec\Net\SFTP;
use Biz\Util\Phpsec\Crypt\RSA;

/**
 * SFTP Stream Wrapper.
 *
 *
 * @author  Jim Wigginton <terrafrost@php.net>
 */
class Stream
{
    /**
     * SFTP instances.
     *
     * Rather than re-create the connection we re-use instances if possible
     *
     * @var array
     */
    public static $instances;

    /**
     * SFTP instance.
     *
     * @var object
     */
    public $sftp;

    /**
     * Path.
     *
     * @var string
     */
    public $path;

    /**
     * Mode.
     *
     * @var string
     */
    public $mode;

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。