using Conga to do non-passive mode FTP

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

Re: using Conga to do non-passive mode FTP

Postby AndyS|Dyalog on Wed Oct 28, 2015 12:18 pm

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.
User avatar
AndyS|Dyalog
 
Posts: 257
Joined: Tue May 12, 2009 6:06 pm

Re: using Conga to do non-passive mode FTP

Postby Richard Procter on Wed Nov 18, 2015 4:44 pm

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.
Richard Procter
 
Posts: 6
Joined: Tue Jul 20, 2010 6:18 pm
Location: Canada

Re: using Conga to do non-passive mode FTP

Postby Vince|Dyalog on Thu Nov 19, 2015 11:44 am

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
Vince|Dyalog
 
Posts: 412
Joined: Wed Oct 01, 2008 9:39 am

Re: using Conga to do non-passive mode FTP

Postby Richard Procter on Thu Nov 19, 2015 3:03 pm

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
Richard Procter
 
Posts: 6
Joined: Tue Jul 20, 2010 6:18 pm
Location: Canada

Previous

Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest