dutchcoders / dutchcoders/transfer.sh
invoke-webrequest error
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
System : W11
I need your help to understand why this isn't working.
PS C:\Users\ITRecords\Downloads> invoke-webrequest -method put -infile STA_BRAND.png https://transfer.sh/STA_BRAND.png
invoke-webrequest : Could not save metadata
Au caractère Ligne:1 : 1
```
+ invoke-webrequest -method put -infile STA_BRAND.png https://transfer. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation : (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
```
Thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the exact PowerShell Invoke-WebRequest command on Windows 11 against the transfer.sh endpoint, using the reported STA_BRAND.png input. Inspect the resulting response and server-side behavior to determine whether the metadata error is caused by the client request or the service; document the confirmed cause and resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100