Remote: native SSH/SFTP client, all uploads use it

This commit is contained in:
Smile
2026-10-18 14:40:09 +00:00
parent 34313ce6e1
commit b5fa6c35f2
4 changed files with 595 additions and 64 deletions
+14
View File
@@ -0,0 +1,14 @@
#pragma once
#include <cstdint>
#include <string>
#include <vector>
namespace versiond {
class NativeSftp {
public:
static bool put(const std::string& host, const std::string& port, const std::string& user,
const std::string& password, const std::string& local, const std::string& remote,
std::string& err);
static bool put(const std::string& host, const std::string& user, const std::string& local,
const std::string& remote, std::string& err);
};
} // namespace versiond