TIL - Go minimal WebDAV server

1 · Rui Carmo · Nov. 26, 2022, 1:35 p.m.
I had an interesting little conundrum the other day, which was that I needed to access a remote Linux filesystem via Windows Explorer (long story…) but had no direct connectivity, no way to use network filesystems, no way to use VS Code remote editing (I was going through a bastion) nor an SSH client that would do sshfs. I could, however, set up a TCP tunnel, so my initial reaction was to go and check if there were any single-file WebDAV servers in Python, but then I realized that Go has a perfe...