[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== SFTP (OpenInsight 32-bit Specific) ==== === At 26 MAY 2010 11:23:42AM Sara Wilson wrote: === {{tag>"OpenInsight 32-bit Specific"}} 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. [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] [url=http://www.sprezzatura.com/blog]The Sprezzatura Blog[/url] [i]World leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === 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 [url=http://www.srpcs.com]SRP Computer Solutions, Inc.[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] ---- === 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 [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=F6E036B58653C59E8525772F0054914D|View this thread on the forum...]]