From owner-freebsd-questions@freebsd.org Sun Jul 21 16:03:04 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 347EAB6BAE for ; Sun, 21 Jul 2019 16:03:04 +0000 (UTC) (envelope-from lee@adminart.net) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8099A852B9 for ; Sun, 21 Jul 2019 16:03:02 +0000 (UTC) (envelope-from lee@adminart.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1563724979; s=strato-dkim-0002; d=adminart.net; h=References:Message-ID:Date:In-Reply-To:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=38gvQguVwCbwgbzTKuDwVyS6s14goRD28KP3wHv5y7M=; b=CL0tBrFXLaoYAqajfNnsRokmJA3LkIPeV3HBWta2T4aiR3uMSH5yM27uzevglG2h2x 7ZvqL+QPeGLOjtetv3DoH6G5GCubnFYd2ltIfJKBoyhAkYGurykhlXbN5hb2AUVzbFOE d5xjqBP4VsBEt6CB9yBkEAAZ5EkKqaBDT1CYa/1P5stwojF+fQCBP3v/OdABcLsy+R3Q Lk+kLhhivpmS2PYhs+IEnscbedBZ4j1HoJtpEUdENwXY5S6aJ1Fu2TXNAGZCy07/Sk3X 4arphQZnfXPN/u4h6Zai+SnVW0ZZLai+5E+mLslFIGgxdV65J/dN1qDuip+RRBxLnsM2 Ep0g== X-RZG-AUTH: ":O2kGeEG7b/pS1FS4THaxjVF9w0vVgfQ9xGcjwO5WMRo5c+h5ceMqQWZ3yrBp+ARdaXvxIDf7nlw=" X-RZG-CLASS-ID: mo00 Received: from himinbjorg.adminart.net by smtp.strato.de (RZmta 44.24 DYNA|AUTH) with ESMTPSA id e0059dv6LG2wpC3 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 21 Jul 2019 18:02:58 +0200 (CEST) Received: from toy.adminart.net ([192.168.3.55]) by himinbjorg.adminart.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hpEIc-0006wE-Dn; Sun, 21 Jul 2019 18:02:58 +0200 Received: from lee by toy.adminart.net with local (Exim 4.92) (envelope-from ) id 1hpEIc-0002TH-C3; Sun, 21 Jul 2019 18:02:58 +0200 From: hw To: Manish Jain Cc: "freebsd-questions\@freebsd.org" Subject: Re: How to explore Android device files under FreeBSD ? In-Reply-To: (Manish Jain's message of "Sat, 13 Jul 2019 18:49:30 +0000") Date: Sun, 21 Jul 2019 18:02:10 +0200 Organization: my virtual residence Message-ID: <87zhl75ql4.fsf@toy.adminart.net> References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 8099A852B9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=adminart.net header.s=strato-dkim-0002 header.b=CL0tBrFX X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[smtpin.rzone.de]; DKIM_TRACE(0.00)[adminart.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; FORGED_SENDER(0.30)[hw@adminart.net,lee@adminart.net]; FREEMAIL_TO(0.00)[hotmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[3.0.0.0.0.0.0.0.0.0.0.0.0.0.3.5.2.0.2.0.a.0.2.0.8.3.2.0.1.0.a.2.list.dnswl.org : 127.0.5.1]; RCVD_TLS_LAST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:6724, ipnet:2a01:238::/32, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[hw@adminart.net,lee@adminart.net]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,0]; R_DKIM_ALLOW(-0.20)[adminart.net:s=strato-dkim-0002]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.73)[ipnet: 2a01:238::/32(-3.20), asn: 6724(-0.42), country: DE(-0.01)]; DMARC_NA(0.00)[adminart.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2019 16:03:04 -0000 Manish Jain writes: > Hi, > > > Somebody has asked me for some images on my Android phone. > > So I first need to download those files from the phone to my FreeBSD box > and then email them. You could install Conversations or Xabber on the phone and send the files via XMPP, using file upload. You can then receive the URLs to the files with an XMPP client like mcabber and download the files with wget. If you can't get a free account on some XMPP server, you can always set up ejabberd or prosody --- and having an XMPP server can be extremely useful because you can use messages to do all kinds of stuff with programs/daemons written in perl or other languages. Asterisk natively does XMPP and thus joins in nicely. Writing an XMPP-to-email gateway in perl would be rather trivial once you get the hang of it.