✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.217.7
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/user-interface/network/src//UploadedFile.php
<?php

declare (strict_types=1);
namespace YoastSEO_Vendor\GuzzleHttp\Psr7;

use InvalidArgumentException;
use YoastSEO_Vendor\Psr\Http\Message\StreamInterface;
use YoastSEO_Vendor\Psr\Http\Message\UploadedFileInterface;
use RuntimeException;
class UploadedFile implements \YoastSEO_Vendor\Psr\Http\Message\UploadedFileInterface
{
    private const ERROR_MAP = [\UPLOAD_ERR_OK => 'UPLOAD_ERR_OK', \UPLOAD_ERR_INI_SIZE => 'UPLOAD_ERR_INI_SIZE', \UPLOAD_ERR_FORM_SIZE => 'UPLOAD_ERR_FORM_SIZE', \UPLOAD_ERR_PARTIAL => 'UPLOAD_ERR_PARTIAL', \UPLOAD_ERR_NO_FILE => 'UPLOAD_ERR_NO_FILE', \UPLOAD_ERR_NO_TMP_DIR => 'UPLOAD_ERR_NO_TMP_DIR', \UPLOAD_ERR_CANT_WRITE => 'UPLOAD_ERR_CANT_WRITE', \UPLOAD_ERR_EXTENSION => 'UPLOAD_ERR_EXTENSION'];
    /**
     * @var string|null
     */
    private $clientFilename;
    /**
     * @var string|null
     */
    private $clientMediaType;
    /**
     * @var int
     */
    private $error;
    /**
     * @var string|null
     */
    private $file;
    /**
     * @var bool
     */
    private $moved = \false;
    /**
     * @var int|null
     */
    private $size;
    /**
     * @var StreamInterface|null
     */
    private $stream;
    /**
     * @param StreamInterface|string|resource $streamOrFile
     */
    public function __construct($streamOrFile, ?int $size, int $errorStatus, ?string $clientFilename = null, ?string $clientMediaType = null)
    {
        $this->setError($errorStatus);
        $this->size = $size;
        $this->clientFilename = $clientFilename;
        $this->clientMediaType = $clientMediaType;
        if ($this->isOk()) {
            $this->setStreamOrFile($streamOrFile);
        }
    }
    /**
     * Depending on the value set file or stream variable
     *
     * @param StreamInterface|string|resource $streamOrFile
     *
     * @throws InvalidArgumentException
     */
    private function setStreamOrFile($streamOrFile) : void
    {
        if (\is_string($streamOrFile)) {
            $this->file = $streamOrFile;
        } elseif (\is_resource($streamOrFile)) {
            $this->stream = new \YoastSEO_Vendor\GuzzleHttp\Psr7\Stream($streamOrFile);
        } elseif ($streamOrFile instanceof \YoastSEO_Vendor\Psr\Http\Message\StreamInterface) {
            $this->stream = $streamOrFile;
        } else {
            throw new \InvalidArgumentException('Invalid stream or file provided for UploadedFile');
        }
    }
    /**
     * @throws InvalidArgumentException
     */
    private function setError(int $error) : void
    {
        if (!isset(\YoastSEO_Vendor\GuzzleHttp\Psr7\UploadedFile::ERROR_MAP[$error])) {
            throw new \InvalidArgumentException('Invalid error status for UploadedFile');
        }
        $this->error = $error;
    }
    private static function isStringNotEmpty($param) : bool
    {
        return \is_string($param) && \false === empty($param);
    }
    /**
     * Return true if there is no upload error
     */
    private function isOk() : bool
    {
        return $this->error === \UPLOAD_ERR_OK;
    }
    public function isMoved() : bool
    {
        return $this->moved;
    }
    /**
     * @throws RuntimeException if is moved or not ok
     */
    private function validateActive() : void
    {
        if (\false === $this->isOk()) {
            throw new \RuntimeException(\sprintf('Cannot retrieve stream due to upload error (%s)', self::ERROR_MAP[$this->error]));
        }
        if ($this->isMoved()) {
            throw new \RuntimeException('Cannot retrieve stream after it has already been moved');
        }
    }
    public function getStream() : \YoastSEO_Vendor\Psr\Http\Message\StreamInterface
    {
        $this->validateActive();
        if ($this->stream instanceof \YoastSEO_Vendor\Psr\Http\Message\StreamInterface) {
            return $this->stream;
        }
        /** @var string $file */
        $file = $this->file;
        return new \YoastSEO_Vendor\GuzzleHttp\Psr7\LazyOpenStream($file, 'r+');
    }
    public function moveTo($targetPath) : void
    {
        $this->validateActive();
        if (\false === self::isStringNotEmpty($targetPath)) {
            throw new \InvalidArgumentException('Invalid path provided for move operation; must be a non-empty string');
        }
        if ($this->file) {
            $this->moved = \PHP_SAPI === 'cli' ? \rename($this->file, $targetPath) : \move_uploaded_file($this->file, $targetPath);
        } else {
            \YoastSEO_Vendor\GuzzleHttp\Psr7\Utils::copyToStream($this->getStream(), new \YoastSEO_Vendor\GuzzleHttp\Psr7\LazyOpenStream($targetPath, 'w'));
            $this->moved = \true;
        }
        if (\false === $this->moved) {
            throw new \RuntimeException(\sprintf('Uploaded file could not be moved to %s', $targetPath));
        }
    }
    public function getSize() : ?int
    {
        return $this->size;
    }
    public function getError() : int
    {
        return $this->error;
    }
    public function getClientFilename() : ?string
    {
        return $this->clientFilename;
    }
    public function getClientMediaType() : ?string
    {
        return $this->clientMediaType;
    }
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
18 Sep 2026 10.04 PM
docteuh / users
0755
Exception
--
20 Sep 2026 10.12 PM
docteuh / users
0755
config-wp-temp
--
13 Sep 2026 8.48 PM
docteuh / users
0755
AppendStream.php
5.887 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
BufferStream.php
3.204 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
CachingStream.php
4.691 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
DroppingStream.php
1.261 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
FnStream.php
4.264 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Header.php
3.86 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
HttpFactory.php
3.952 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
InflateStream.php
1.607 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
LazyOpenStream.php
1.219 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
LimitStream.php
4.201 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Message.php
8.406 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MessageTrait.php
7.587 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MimeType.php
44.165 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MultipartStream.php
5.244 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
NoSeekStream.php
0.576 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Query.php
4.019 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Request-20260831062258.php
4.097 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Request.php
4.097 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Response.php
4.413 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Rfc7230.php
0.65 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ServerRequest.php
9.653 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Stream.php
7.303 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamDecoratorTrait.php
3.364 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamWrapper.php
4.193 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UploadedFile.php
5.025 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Uri.php
21.741 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UriNormalizer.php
8.439 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UriResolver.php
8.696 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Utils.php
15.894 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
icon-redirect-manager-20260827192224-20260829103225.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
user-edit-20260827081357-20260912191051.php
0.247 KB
6 Feb 2020 7.33 AM
docteuh / users
0644
user-edit-20260827081357.php
0.247 KB
6 Feb 2020 7.33 AM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF