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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder02.blueworldhosting.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: library/binding for sftp? References: <85li4gmhrt.fsf@stephe-leake.org> <2wgl8bcmdsu0$.1rs1604fzwufv.dlg@40tude.net> <85vc3jfias.fsf@stephe-leake.org> <1gwg87tgm2bo7$.ae7440ka6kmc.dlg@40tude.net> Date: Wed, 07 Aug 2013 05:06:44 -0500 Message-ID: <85bo59g6h7.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:ko0XqZUEKVsu0rY765VQdStSF6M= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: ea6b952021c36e3fb8a7925588 X-Received-Bytes: 1846 Xref: news.eternal-september.org comp.lang.ada:16689 Date: 2013-08-07T05:06:44-05:00 List-Id: "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. Why do all that when sftp is available? > Anyway, quick search shows rsync: > > https://play.google.com/store/apps/details?id=eu.kowalczuk.rsync4android&hl=en sftp is more efficient; it only transfers the files I need transfered. -- -- Stephe