Skip to content

Commit 5baabac

Browse files
removed broken utf8 characters
1 parent 107561a commit 5baabac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/fineftp_test/src/stou_helper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ inline void uploadWithStou(const std::string& filePath
5656
// ----- Windows: use PowerShell with FtpWebRequest -----
5757
// Write the script to a temp .ps1 file and run it with -File.
5858
// Passing multi-line scripts via -Command "..." through cmd.exe
59-
// is unreliable newlines and special chars get silently mangled.
59+
// is unreliable - newlines and special chars get silently mangled.
6060
std::string portStr = std::to_string(port);
6161

6262
std::string ps;
@@ -110,8 +110,8 @@ inline void uploadWithStou(const std::string& filePath
110110
#else
111111
// ----- Linux / macOS -----
112112
// macOS removed the built-in `ftp` client, so we check at runtime:
113-
// 1. `ftp` available on most Linux distros; uses `sunique` + `put`
114-
// 2. `python3` fallback using ftplib.storbinary('STOU ...'), works everywhere
113+
// 1. `ftp` - available on most Linux distros; uses `sunique` + `put`
114+
// 2. `python3` - fallback using ftplib.storbinary('STOU ...'), works everywhere
115115
const std::string portStr = std::to_string(port);
116116
std::string scriptPath = "/tmp/ftp_stou_upload_script";
117117
std::string cmd;

0 commit comments

Comments
 (0)