<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/12/12 05:28, David "Judah's
Shadow" Blue wrote:<br>
</div>
<blockquote
cite="mid:23b8b412-40d8-4e3e-8e2d-d66a14029a02@email.android.com"
type="cite">
<div class="gmail_quote">Greg Hellings
<a class="moz-txt-link-rfc2396E" href="mailto:greg.hellings@gmail.com"><greg.hellings@gmail.com></a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px">The attached patch will introduce support for SFTPSource transports in
the SWORD engine, allowing a user to access remote repositories over
SFTP (which is enabled by default when a user enables SSH).</pre>
</blockquote>
</div>
</blockquote>
<br>
This is a brilliant idea, Greg, particularly for having access to
private modules on the road.<br>
<br>
1) It applies and compiles cleanly<br>
2) installmgr continues to function with the standard protocolls.<br>
<br>
Unfortunately when trying to use it I get the (username edited)
debug message attached below from installmgr. What I had done is I
added a line to my InstallMgr.conf:<br>
<br>
SFTPSource=Home|backup|/home/<username>/.sword|||<br>
<br>
"backup" is resolved in my /etc/hosts file to my NAS which is
accessible via ssh. /home/<username>/.sword is the path from /<br>
<br>
Am I doing something wrong or is there something malfunctioning? I
tried also <username>@backup as servername<br>
---------------------------------------------------------------------------<br>
<br>
netCopy: backup, mods.d.tar.gz,
/home/peter//.sword/InstallMgr/backup/mods.d.tar.gz, f, <br>
***** using CURLOPT_FTP_USE_EPRT<br>
<br>
***** About to perform curl easy action. <br>
<br>
***** destPath:
/home/<username>//.sword/InstallMgr/backup/mods.d.tar.gz <br>
<br>
***** sourceURL:
sftp://backup/home/<username>/.sword/mods.d.tar.gz <br>
<br>
CURLFTPTransport: TEXT: Protocol sftp not supported or disabled in
libcurl<br>
<br>
CURLFTPTransport: TEXT: Unsupported protocol<br>
<br>
***** Finished performing curl easy action. <br>
<br>
netCopy: failed to get file
sftp://backup/home/<username>/.sword/mods.d.tar.gz<br>
netCopy: backup, mods.d,
/home/<username>//.sword/InstallMgr/backup/mods.d, t, .conf<br>
NetTransport: getting dir
sftp://backup/home/<username>/.sword/mods.d/<br>
<br>
***** using CURLOPT_FTP_USE_EPRT<br>
<br>
***** About to perform curl easy action. <br>
<br>
***** destPath: <br>
<br>
***** sourceURL: sftp://backup/home/<username>/.sword/mods.d/
<br>
<br>
CURLFTPTransport: TEXT: Protocol sftp not supported or disabled in
libcurl<br>
<br>
CURLFTPTransport: TEXT: Unsupported protocol<br>
<br>
***** Finished performing curl easy action. <br>
<br>
FTPURLGetDir: failed to get dir
sftp://backup/home/<username>/.sword/mods.d/<br>
<br>
NetTransport: failed to read dir
sftp://backup/home/<username>/.sword/mods.d/<br>
<br>
<br>
Error Refreshing Remote Source<br>
<br>
-------------------------<br>
<br>
<br>
</body>
</html>