liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

Upload problem with VS Code #1030

Closed na-asc closed 1 month ago

na-asc commented 1 month ago

Do you read the FAQ?

Describe the bug If I upload my script from Visual Studio Code to GitHub I get an error, that a file, which I download in my script is to big. But The file is only downloaded, if I run the script locally. Not during Upload.

2024-05-22 15:57:02.057 [info] remote: error: Trace: 083b51b5e98451741e2e3df736d00e494f89903bb75f505df4af1e4ceb4be610        
remote: error: See https://gh.io/lfs for more information.        
remote: error: File Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle is 248.31 MB; this exceeds GitHub's file size limit of 100.00 MB        
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.        
To https://github.com/NETWORK-ASSISTANCE/DattoRMM.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/NETWORK-ASSISTANCE/DattoRMM.git'
2024-05-22 15:57:02.216 [info] > git config --get commit.template [154ms]

To Reproduce Steps to reproduce the behavior:

  1. Create a powershell script
  2. Use

    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
    
    $progressPreference = 'silentlyContinue'
    Write-Information "Downloading WinGet and its dependencies..."
    Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
    Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
    Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.7.3/Microsoft.UI.Xaml.2.7.x64.appx -OutFile Microsoft.UI.Xaml.2.7.x64.appx
  3. Upload to github

Expected behavior Only source should be synced. There should be no download from used URLs during sync.

Screenshots 22-05-2024_16-38-18

Desktop (please complete the following information):

Version: 1.89.1 (user setup) Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685 Date: 2024-05-07T05:13:33.891Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0.22631