0
我已經看到幾個關於SO的答案,如this和this。但我總是會遇到類似於以下的錯誤。如何在使用用戶名和密碼的PowerShell控制檯中使用wget
不知道我在做什麼錯。我嘗試了以下變化,但都給出了類似的錯誤。請幫忙。
wget --user "[email protected]" --password "[email protected]$w0rd" https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
wget --user="[email protected]" --password="[email protected]$w0rd" https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
wget --user='[email protected]' --password='[email protected]$w0rd' https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
wget --user [email protected] --password [email protected]$w0rd https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
Invoke-WebRequest : A positional parameter cannot be found that accepts argument '[email protected]$w0rd'. At line:1 char:1 + wget --user='[email protected]' --password='[email protected]$w0rd' ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
謝謝你,有道理你說什麼。 – VivekDev