public static function send($filePath, $remoteFileSystem)
    {
        return (new Client())->put($remoteFileSystem, ['body' => fopen($filePath, self::READ_BINARY)])
            ->getStatusCode() == HttpHelper::STATUS_OK;
    }
public static function send($filePath, $remoteFileSystem)
    {
        return (new Client())->put($remoteFileSystem, ['body' => fopen($filePath, self::READ_BINARY)])
            ->getStatusCode() == HttpHelper::STATUS_OK;
    }
public static function send ( $ filePath , $ remoteFileSystem ) { return ( new Client ( ) ) -> put ( $ remoteFileSystem , [ 'body' => fopen ( $ filePath , self :: READ_BINARY ) ] ) -> getStatusCode ( ) == HttpHelper :: STATUS_OK ; }
Send a file

@param  $filePath
@param  $remoteFileSystem
@return bool
Send a file