From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: library/binding for sftp? Date: Wed, 7 Aug 2013 15:04:01 +0200 Organization: cbb software GmbH Message-ID: References: <85li4gmhrt.fsf@stephe-leake.org> <2wgl8bcmdsu0$.1rs1604fzwufv.dlg@40tude.net> <85vc3jfias.fsf@stephe-leake.org> <1gwg87tgm2bo7$.ae7440ka6kmc.dlg@40tude.net> <85bo59g6h7.fsf@stephe-leake.org> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: NRdsZItxz1JhTQIIiXfHKg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2115 Xref: number.nntp.dca.giganews.com comp.lang.ada:182849 Date: 2013-08-07T15:04:01+02:00 List-Id: On Wed, 07 Aug 2013 05:06:44 -0500, Stephen Leake wrote: > "Dmitry A. Kazakov" writes: > >> On Tue, 06 Aug 2013 01:24:27 -0500, Stephen Leake wrote: >> >>> "Dmitry A. Kazakov" writes: >>> >>>> On Mon, 05 Aug 2013 08:41:42 -0400, Stephen Leake wrote: >>>> >>>>> I'm working on an application that transfers files between Windows and >>>>> Android. The only common protocol among the devices I have is >>>>> ssh/scp/sftp. >>>> >>>> If you are writing an application anyway, why don't you just open a socket >>>> and send whatever you want over it? Sending a file over socket should be >>>> 20-30 Ada lines long. >>> >>> Because the device requires ssh authentication. >> >> I don't understand this. You cannot bind to a port under android? > > I can. But then i'd have to re-implement security, authentication, and > file transfer. What for? It is your program you know you are running it. The best security ever is a protocol nobody else knows. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de