Page 3 of 3

Re: using Conga to do non-passive mode FTP

Posted: Wed Oct 28, 2015 12:18 pm
by AndyS|Dyalog
I'm afraid that Conga doesn't support sftp.

Dan and I have played a little with ssh.net (I believe that Jim Goff pointed me in this direction some time ago). We've not used the sftp/scp functionality, but it would be a place to start.

I personally would choose to use scp rather than sftp if at all possible, but realise that it may not be appropriate for your purposes.

Re: using Conga to do non-passive mode FTP

Posted: Wed Nov 18, 2015 4:44 pm
by Richard Procter
The above discussion mentions sFTP.

Can Conga (in 2015) do sFTP?
(I think not)and therefore, does anybody have a good recommendation for a way to use sFTP from APL? (for example, a .Net assembly that can send/receive files?)

I have tried WinSCP.net (http://winscp.net/eng/docs/library) but when I try to load the dll I get this message:

Could not load file or assembly 'WinSCPnet, Version=1.2.10.5874, Culture=neutral, PublicKeyToken=2271ec4a3c56d0bf' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)

Maybe somebody can debug that for me? Thanks.

Re: using Conga to do non-passive mode FTP

Posted: Thu Nov 19, 2015 11:44 am
by Vince|Dyalog
Hi Richard,

Try to right click on the WinSCPnet DLL and choose Properties.

If you see an "Unblock" button, press it, and try the WinSCPnet.dll again.

Regards,

Vince

Re: using Conga to do non-passive mode FTP

Posted: Thu Nov 19, 2015 3:03 pm
by Richard Procter
Thanks Vince,

That helped, plus it turns out there is more to getting WinSCPnet.dll to load than expected (see: http://winscp.net/eng/docs/library_install#gac).

I can now see WinSCP objects, will report later if successful to make it work for sFTP purposes...thanks...Richard