Skip to content

Error while downloading file #4545

@ggelado

Description

@ggelado

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

B z p s T N b P h J T H L 6 D j H O B J T 4 A s q q 8 Z O q h D s G z l 8 l s w M 9 c J Y Z f K Q T - b 1 x x L V q X G h n J F Z Z v r R I w _ _ & K e y - P a i r - I d = A P K A J F H N S L H Y C G F Y Q G I A " Enter
 Enter
 I n v o k e - W e b R e q u e s t Space - U r i Space $ u r l Space - H e a d e r s Space $ h e a d e r s Space - O u t F i l e Space " z o o m _ r e c o r d i n g _ 2 0 2 5 0 2 1 8 . m p 4 " Enter
 Space Ctrl+Alt+} Enter
 Alt+i Alt+i Alt+i

Excepción:
System.ArgumentOutOfRangeException: El valor debe ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -6.
   en System.Console.SetCursorPosition(Int32 left, Int32 top)
   en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   en Microsoft.PowerShell.PSConsoleReadLine.AcceptLineImpl(Boolean validate)
   en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

N/A

Environment data

PS Version: 5.1.19041.5486
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.4522 (WinBuild.160101.0800)
BufferWidth: 166
BufferHeight: 42

Steps to reproduce

Invoke-WebRequest -Uri $url -Headers $headers -OutFile "zoom_recording_20250218.mp4"

Expected behavior

File downloaded

Actual behavior

Exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions