Problem: \`url_to_scp\` passes the file path through \`util.url_escape\`, which encodes \`/\` as \`%2F\`. The resulting scp command uses a URI like \`scp://host/%2Ftmp%2Ffile\` where percent-encoded slashes are not treated as path separators, causing scp to fail with a connection error. Solution: unescape \`%2F\` back to \`/\` after encoding, so other special characters (spaces, \`%\`, etc.) remain encoded but path separators are preserved. The correct absolute-path URI form is \`scp://host//path\`. |
||
|---|---|---|
| .. | ||
| files | ||
| s3 | ||
| ssh | ||
| trash | ||
| files.lua | ||
| ftp.lua | ||
| ftps.lua | ||
| s3.lua | ||
| ssh.lua | ||
| test.lua | ||
| trash.lua | ||