On 04/12/12 05:28, David "Judah's Shadow" Blue wrote:
> Greg Hellings <greg.helli...@gmail.com> wrote:
>
>     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).
>

This is a brilliant idea, Greg, particularly for having access to
private modules on the road.

1) It applies and compiles cleanly
2) installmgr continues to function with the standard protocolls.

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:

SFTPSource=Home|backup|/home/<username>/.sword|||

"backup" is resolved in my /etc/hosts file to my NAS which is accessible
via ssh. /home/<username>/.sword is the path from /

Am I doing something wrong or is there something malfunctioning? I tried
also <username>@backup as servername
---------------------------------------------------------------------------

netCopy: backup, mods.d.tar.gz,
/home/peter//.sword/InstallMgr/backup/mods.d.tar.gz, f,
***** using CURLOPT_FTP_USE_EPRT

***** About to perform curl easy action.

***** destPath: /home/<username>//.sword/InstallMgr/backup/mods.d.tar.gz

***** sourceURL: sftp://backup/home/<username>/.sword/mods.d.tar.gz

CURLFTPTransport: TEXT: Protocol sftp not supported or disabled in libcurl

CURLFTPTransport: TEXT: Unsupported protocol

***** Finished performing curl easy action.

netCopy: failed to get file
sftp://backup/home/<username>/.sword/mods.d.tar.gz
netCopy: backup, mods.d,
/home/<username>//.sword/InstallMgr/backup/mods.d, t, .conf
NetTransport: getting dir sftp://backup/home/<username>/.sword/mods.d/

***** using CURLOPT_FTP_USE_EPRT

***** About to perform curl easy action.

***** destPath: 

***** sourceURL: sftp://backup/home/<username>/.sword/mods.d/

CURLFTPTransport: TEXT: Protocol sftp not supported or disabled in libcurl

CURLFTPTransport: TEXT: Unsupported protocol

***** Finished performing curl easy action.

FTPURLGetDir: failed to get dir sftp://backup/home/<username>/.sword/mods.d/

NetTransport: failed to read dir
sftp://backup/home/<username>/.sword/mods.d/


Error Refreshing Remote Source

-------------------------


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to