SFTP (OpenInsight 32-bit Specific)
At 26 MAY 2010 11:23:42AM Sara Wilson wrote:
I have a client that wants our system to transfer files to and from a SFTP site using a public ssh key instead of a user name and password. Since the FTPGETFILE and FTPSEND OI commands require a username and password how do I connect to a SFTP site.
At 26 MAY 2010 11:40AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
You don't - SFTP is a whole different beast again. See http://en.wikipedia.org/wiki/SSH_file_transfer_protocol
We ended up having to write our own software to do it.
World leaders in all things RevSoft
At 26 MAY 2010 01:32PM psimonsen@srpcs.com's Paul Simonsen wrote:
Sara,
A client was using an SFTP program called Bitvise Tunnelier (http://www.bitvise.com/tunnelier) which has built in command line calls. So I was able to automate the SFTP processes from within OI. It's not actually OI making the SFTP calls, but it is the one pulling the strings.
I'm sure there are other SFTP programs you could also drive via the command prompt if the above one is not an option.
Hope this helps,
psimonsen@srpcs.com
At 26 MAY 2010 01:56PM Eric wrote:
The FTPGETFILE and FTPSEND commands were written in late 2001. They were carefully crafted in Basic+ itself, in about 120 lines of code for each routine. If I recall, Bob Carten then tidied them up so they looked like a real programmer's work, rather than my inane scratchings.
SFTP was being specified from 2001 to 2006. If I'd known about it in 2001 I would have included it.
There is no reason why SFTP couldn't be written in BASIC+
If you shoot an email to ericemu@hotmail.com I may be able to help further.
Eric