sergix44 / XBackBone

A lightweight file manager with full ShareX support and more
https://xbackbone.app
GNU Affero General Public License v3.0
993 stars 81 forks source link

Windows upload script (Like the linux one) #580

Open Sectly opened 3 months ago

Sectly commented 3 months ago

Is your feature request related to a problem? Please describe. I've wanted an quick and easy way to upload files to my XBackBone instance from my windows PC without WSL

Describe the solution you'd like I've already made a script for it and i'd like to add it to the project but i ain't the best with pull requests so heres the gist: https://gist.github.com/Sectly/ba3fe6f068e70bfec1bda43a212f2e87

This .bat script should work on any windows PC with CURL, no administrator permission needed.

Users may install CURL using Scoop incase they don't have administrator permissions or CURL is not installed by default: https://scoop.sh/#/apps?q=curl&id=09e3750a1f0a703b6de0f8fa4ca1263ef5d59ad3

Additional context image

Sectly commented 3 months ago

The thing was mainly that i can't install WSL since on the company PC i don't got administrator permissions, So i made this script to solve said issue, I also added the -k flag to ignore self-signed certficates since my company network has one. So far this script does its job so i wanted to share it and maybe make it official script on XBackBone.