magicaldave
❔ Using Octodiff to Patch Local Files From Remote
Hi, all. As a learning project for C#, I'm trying to build a simple patcher for TES3MP. VERY Simple.
I discovered the Octodiff library which seemed perfect for what I want to do: https://github.com/OctopusDeploy/Octodiff
It says pretty clearly that: "Octodiff can make deltas of files by comparing a remote file with a local file, without needing both files to exist on the same machine."
I got the C# Assemblies installed and tested with a local file, worked fine.
I then took the example code on their website and plugged in names of files and directories which actually existed on my system; patch went great.
I then tried to feed it an http stream, instead of a local file stream, and it generates these errors:
I get the impression what I'm trying to accomplish will simply not be possible unless I implement some code which runs on the remote host to produce the delta file, or just download the files before diffing them, which totally defeats the point.
Just wondering if perhaps I'm missing an intermediate step to simply read these remote files without actually taking the time to download them.
2 replies