Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #148077 > unrolled thread

Samba server on Android

Started bygazelle@shell.xmission.com (Kenny McCormack)
First post2021-09-06 18:45 +0000
Last post2021-09-09 15:41 -0500
Articles 20 on this page of 25 — 12 participants

Back to article view | Back to alt.comp.os.windows-10


Contents

  Samba server on Android gazelle@shell.xmission.com (Kenny McCormack) - 2021-09-06 18:45 +0000
    Re: Samba server on Android Andy Burns <usenet@andyburns.uk> - 2021-09-06 20:27 +0100
      Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-06 19:56 +0000
        Re: Samba server on Android Andy Burns <usenet@andyburns.uk> - 2021-09-06 21:06 +0100
          Re: Samba server on Android Char Jackson <none@none.invalid> - 2021-09-18 00:55 -0500
        Re: Samba server on Android gazelle@shell.xmission.com (Kenny McCormack) - 2021-09-06 20:11 +0000
          Re: Samba server on Android Gronk <invalid@invalid.invalid> - 2021-09-06 21:02 -0600
          Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-07 12:53 +0000
    Re: Samba server on Android VanguardLH <V@nguard.LH> - 2021-09-06 15:15 -0500
      Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-07 13:09 +0000
        Re: Samba server on Android VanguardLH <V@nguard.LH> - 2021-09-07 15:29 -0500
          Re: Samba server on Android allspam <allspam@allspam.invalid> - 2021-09-07 17:04 -0400
            Re: Samba server on Android Andy Burns <usenet@andyburns.uk> - 2021-09-07 22:11 +0100
              Re: Samba server on Android allspam <allspam@allspam.invalid> - 2021-09-07 18:02 -0400
            Re: Samba server on Android Joerg Lorenz <hugybear@gmx.ch> - 2021-09-08 03:40 +0200
              Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-09 13:06 +0000
                Re: Samba server on Android Robin Goodfellow <Ancient-of-Days@Heaven.Net> - 2021-09-09 17:31 +0000
                  Re: Samba server on Android gazelle@shell.xmission.com (Kenny McCormack) - 2021-09-09 17:35 +0000
          Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-09 13:21 +0000
            Re: Samba server on Android RabidHussar <rabid@huss.ar> - 2021-09-09 09:35 -0400
              Re: Samba server on Android Paul <nospam@needed.invalid> - 2021-09-09 11:53 -0400
            Re: Samba server on Android "Carlos E. R." <robin_listas@es.invalid> - 2021-09-09 16:01 +0200
              Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-09 14:49 +0000
                Re: Samba server on Android "Carlos E. R." <robin_listas@es.invalid> - 2021-09-09 22:36 +0200
                Re: Samba server on Android VanguardLH <V@nguard.LH> - 2021-09-09 15:41 -0500

Page 1 of 2  [1] 2  Next page →


#148077 — Samba server on Android

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2021-09-06 18:45 +0000
SubjectSamba server on Android
Message-ID<sh5njg$1oi7c$1@news.xmission.com>
This is technically OP in this NG, but I note that this general topic has
been (and continues to be) extensively discussed here (even though it is,
obviously, OT).

Anyway, I now have an Android device and I would like to be able to "net use"
to it from Windows.  It seems like this should be straightforward, but I
don't know which app to install on the Android device.  What do you recommend?

Note: I don't need anything fancy.  Don't need any kind of "sharing app" or
anything designed specifically for sharing photos or anything cutesy like
that.  Just something to make a share accessible on the Android side.

TIA.

-- 
Men rarely (if ever) manage to dream up a God superior to themselves.
Most Gods have the manners and morals of a spoiled child.

[toc] | [next] | [standalone]


#148080

FromAndy Burns <usenet@andyburns.uk>
Date2021-09-06 20:27 +0100
Message-ID<ipn8dkF7i4uU2@mid.individual.net>
In reply to#148077
Kenny McCormack wrote:

> I now have an Android device and I would like to be able to "net use"
> to it from Windows.

Having the TCP/UDP 137/138/139/445 ports permanently listening for 
inbound connections on an android device is likely to either not be 
allowed by power management or wreck your battery life if you find a way 
to allow it ...

[toc] | [prev] | [next] | [standalone]


#148081

FromFrank Slootweg <this@ddress.is.invalid>
Date2021-09-06 19:56 +0000
Message-ID<sh62qn.eb8.1@ID-201911.user.individual.net>
In reply to#148080
Andy Burns <usenet@andyburns.uk> wrote:
> Kenny McCormack wrote:
> 
> > I now have an Android device and I would like to be able to "net use"
> > to it from Windows.
> 
> Having the TCP/UDP 137/138/139/445 ports permanently listening for 
> inbound connections on an android device is likely to either not be 
> allowed by power management or wreck your battery life if you find a way 
> to allow it ...

  A non-rooted Android device cannot run a Windows-accessible Network
Share (SMB server), because non-root Android does not allow listening on
ports below 1000 and Windows uses port 445 which can not be changed on
the Windows side.

  For some time I have used FtpUse on the Windows side, which allows a
Windows Network Drive mapped to a FTP server on the Android side, but
found it (the FTP mechanism) too limited.

  In case you (Kenny) want to try that route:

'FtpUse - Map a FTP server as a Local Disk Drive'
<https://www.ferrobackup.com/map-ftp-as-disk.html>

[toc] | [prev] | [next] | [standalone]


#148084

FromAndy Burns <usenet@andyburns.uk>
Date2021-09-06 21:06 +0100
Message-ID<ipnamiF80v4U1@mid.individual.net>
In reply to#148081
Frank Slootweg wrote:

>    A non-rooted Android device cannot run a Windows-accessible Network
> Share (SMB server), because non-root Android does not allow listening on
> ports below 1000 and Windows uses port 445 which can not be changed on
> the Windows side.

It *can* be changed on the windows side, using a kernel loopback adapter 
and "netsh interface portproxy add v4tov4" commands ... it's a ball-ache 
though and I've only used it on practice once.

[toc] | [prev] | [next] | [standalone]


#148681

FromChar Jackson <none@none.invalid>
Date2021-09-18 00:55 -0500
Message-ID<c9vakghpl9p2ade796hlise7mho72gcv7i@4ax.com>
In reply to#148084
On Mon, 6 Sep 2021 21:06:40 +0100, Andy Burns <usenet@andyburns.uk> wrote:

>Frank Slootweg wrote:
>
>>    A non-rooted Android device cannot run a Windows-accessible Network
>> Share (SMB server), because non-root Android does not allow listening on
>> ports below 1000 and Windows uses port 445 which can not be changed on
>> the Windows side.
>
>It *can* be changed on the windows side, using a kernel loopback adapter 
>and "netsh interface portproxy add v4tov4" commands ... it's a ball-ache 
>though and I've only used it on practice once.

It sounds like any solution that provides port translation would work. If I
needed to, I'd use a proxy because I always have several running at all
times (F5 LTMs as VMs) and they make port translation trivial, but I think
I read that Netcat (nc) can do port translation, as another example.

https://en.wikipedia.org/wiki/Netcat#Proxying
https://nc110.sourceforge.io/

Something like pfSense might also work to accomplish port translation.

[toc] | [prev] | [next] | [standalone]


#148085

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2021-09-06 20:11 +0000
Message-ID<sh5skt$1olre$1@news.xmission.com>
In reply to#148081
In article <sh62qn.eb8.1@ID-201911.user.individual.net>,
Frank Slootweg  <this@ddress.is.invalid> wrote:
...
>  A non-rooted Android device cannot run a Windows-accessible Network
>Share (SMB server), because non-root Android does not allow listening on
>ports below 1000 and Windows uses port 445 which can not be changed on
>the Windows side.

Good point.

>  For some time I have used FtpUse on the Windows side, which allows a
>Windows Network Drive mapped to a FTP server on the Android side, but
>found it (the FTP mechanism) too limited.

Wouldn't that suffer from the same problem as the SMB approach?  I.e., that
FTP runs on ports 20 & 21 and those are privileged?

It may be possible to run an FTP server on a different (user-defined) port,
but I can't remember how well that works.

>  In case you (Kenny) want to try that route:
>
>'FtpUse - Map a FTP server as a Local Disk Drive'
><https://www.ferrobackup.com/map-ftp-as-disk.html>

(That's for the Windows side, right?  What did you use on the Android side
to get an FTP server running there?)

Changing the subject a bit, how about an ssh server on the Android side?

If I could do that, then I could run sshfs on Linux (N.B., not Windows)  as
the client, and get pretty close to what I really want.

P.S.  The limitation that non-root processes cannot run servers on ports
below 1024 on Unix and Unix-like OSes, is not cast-in-stone.  It is just a
feature of the TCPIP stack as it tends to be implemented on those OSes.
(Note that, e.g., Windows has no such limitation).

Given that Android is a greatly modified hack of Linux, it is not
inconceivable that the makers/maintainers of Android could lift this
limitation.  Note that I am not saying that they have done this or even
that they should, only that they could.

-- 
1) The only professionals who refer to their customers as "users" are
    computer guys and drug dealers.
2) The only professionals who refer to their customers as "clients" are
    lawyers and prostitutes.

[toc] | [prev] | [next] | [standalone]


#148107

FromGronk <invalid@invalid.invalid>
Date2021-09-06 21:02 -0600
Message-ID<sh6kna$b4d$1@news.mixmin.net>
In reply to#148085
Kenny McCormack wrote:
> Wouldn't that suffer from the same problem as the SMB approach?  I.e., that
> FTP runs on ports 20 & 21 and those are privileged?

The difference is you can't run the smbv3 server on Android not rooted
and have it work with Windows (without mapping the ports as said prior).

FTP works ok to "map network drive" the Android filesys onto Windows 10.

But a free Android WebDav works much better to connect than does FTP (imo).

With WebDav Android devices show up as a drive letter on Windows over wifi.
You can then run Windows commands directly on the Android filesys over wifi.

[toc] | [prev] | [next] | [standalone]


#148121

FromFrank Slootweg <this@ddress.is.invalid>
Date2021-09-07 12:53 +0000
Message-ID<sh7ucp.c6s.1@ID-201911.user.individual.net>
In reply to#148085
Kenny McCormack <gazelle@shell.xmission.com> wrote:
> In article <sh62qn.eb8.1@ID-201911.user.individual.net>,
> Frank Slootweg  <this@ddress.is.invalid> wrote:
> ...
> >  A non-rooted Android device cannot run a Windows-accessible Network
> >Share (SMB server), because non-root Android does not allow listening on
> >ports below 1000 and Windows uses port 445 which can not be changed on
> >the Windows side.
> 
> Good point.
> 
> >  For some time I have used FtpUse on the Windows side, which allows a
> >Windows Network Drive mapped to a FTP server on the Android side, but
> >found it (the FTP mechanism) too limited.
> 
> Wouldn't that suffer from the same problem as the SMB approach?  I.e., that
> FTP runs on ports 20 & 21 and those are privileged?
> 
> It may be possible to run an FTP server on a different (user-defined) port,
> but I can't remember how well that works.

  FtpUse  can set a portnumber (/PORT: option) and FTP servers on
Android can use/set portnumbers as well.

> >  In case you (Kenny) want to try that route:
> >
> >'FtpUse - Map a FTP server as a Local Disk Drive'
> ><https://www.ferrobackup.com/map-ftp-as-disk.html>
> 
> (That's for the Windows side, right?  What did you use on the Android side
> to get an FTP server running there?)

  Yes, FtpUse is for the Windows side. It's similar to the standard
Windows 'net use' command, hence the similar name. On the Android side I
use the FTP server which is part of the 'ES File Explorer' app, but that
app (there are several apps with similar names) is no longer in the Play
Store (long story). But there are many FTP servers for Android, just
search the Play Store or Google Play website on 'FTP server' and you'll
find them.

> Changing the subject a bit, how about an ssh server on the Android side?
> 
> If I could do that, then I could run sshfs on Linux (N.B., not Windows)  as
> the client, and get pretty close to what I really want.

  I have no experience with ssh servers (sshd?) on Android, but probably
they can be installed in the Termux environment and there probably are
standalone apps as well. (A search on 'sshd' gives several candidates.)

'Termux'
<https://play.google.com/store/apps/details?id=com.termux>

> P.S.  The limitation that non-root processes cannot run servers on ports
> below 1024 on Unix and Unix-like OSes, is not cast-in-stone.  It is just a
> feature of the TCPIP stack as it tends to be implemented on those OSes.
> (Note that, e.g., Windows has no such limitation).
> 
> Given that Android is a greatly modified hack of Linux, it is not
> inconceivable that the makers/maintainers of Android could lift this
> limitation.  Note that I am not saying that they have done this or even
> that they should, only that they could.

  Yes, they could, but they won't. Other than for Windows, Linux, etc.,
Google has decided that the owner of the phone cannot be trusted to
manage it! :-(

[toc] | [prev] | [next] | [standalone]


#148086

FromVanguardLH <V@nguard.LH>
Date2021-09-06 15:15 -0500
Message-ID<161x07j9q5zhi.dlg@v.nguard.lh>
In reply to#148077
Kenny McCormack <gazelle@shell.xmission.com> wrote:

> This is technically OP in this NG, but I note that this general topic has
> been (and continues to be) extensively discussed here (even though it is,
> obviously, OT).
> 
> Anyway, I now have an Android device and I would like to be able to "net use"
> to it from Windows.  It seems like this should be straightforward, but I
> don't know which app to install on the Android device.  What do you recommend?
> 
> Note: I don't need anything fancy.  Don't need any kind of "sharing app" or
> anything designed specifically for sharing photos or anything cutesy like
> that.  Just something to make a share accessible on the Android side.
> 
> TIA.

Part 1:

Enable Developer Options on your phone.  Yours may differ, but typically
you go into Settings -> General -> About phone -> Software Info, and tap
7 times on  Build number.  Navpath may vary on your unidentified phone
to get to About Phone.  Then go to Settings -> General -> Developer
Options, and check it is On (enabled).  Scroll down and enable debugging
mode.

Part 2:

Install the ADB (Android Debug Bridge) driver on your computer.  Some
phone makers provide the driver.  However, sometimes the phone makers
use some esoteric driver names that give no hint they are for the ADB
feature.  There is almost no difference among them other than branding.
You could search on "ADB driver download <brand> <model>" to find the
ADB driver for your phone.  This driver is what defines the hardware
interface between the computer's OS and the device.  Install the driver.

Part 3:

Plug the phone into the computer using a USB cable.  The phone will
appear as a new drive on the computer.

This was off the top of my head.  There are plenty of online articles on
how to enable Developer Options and get ADB working between phone and
computer.  A search on "<brand> <model> ADB" might be sufficient for you
to see how to enable Dev Options, and where to get the driver.

Alternatively, you can use sync apps that keep your phone and an online
account in sync for the files included in the sync, and use the sync app
on your computer to keep the selected files in sync with your account.
You are using cloud sync to keep files in sync between computer and
phone.  Not all files, just the locations you select.  I use Microsoft's
OneDrive to do cloud sync, but Google Drive (later renamed to Google
Backup & Restore, and to get renamed again to Google Sync) works too.
However, I've ran into locked/hung syncs when both OneDrive and Google
Drive are used when they are both attempting a sync job on the same
locations (i.e., files are inuse).  The apps are easy to install and
use.  No having to enable Dev Options and USB debug mode.  No driver to
install.  No USB cabling.  And the files are available anywhere you can
get an Internet connection to get them from your online account onto any
device using a web browser.

[toc] | [prev] | [next] | [standalone]


#148122

FromFrank Slootweg <this@ddress.is.invalid>
Date2021-09-07 13:09 +0000
Message-ID<sh7va0.c6s.1@ID-201911.user.individual.net>
In reply to#148086
VanguardLH <V@nguard.lh> wrote:
> Kenny McCormack <gazelle@shell.xmission.com> wrote:
> 
> > This is technically OP in this NG, but I note that this general topic has
> > been (and continues to be) extensively discussed here (even though it is,
> > obviously, OT).
> > 
> > Anyway, I now have an Android device and I would like to be able to "net use"
> > to it from Windows.  It seems like this should be straightforward, but I
> > don't know which app to install on the Android device.  What do you recommend?
> > 
> > Note: I don't need anything fancy.  Don't need any kind of "sharing app" or
> > anything designed specifically for sharing photos or anything cutesy like
> > that.  Just something to make a share accessible on the Android side.
> > 
> > TIA.
> 
> Part 1:
> 
> Enable Developer Options on your phone.  Yours may differ, but typically
> you go into Settings -> General -> About phone -> Software Info, and tap
> 7 times on  Build number.  Navpath may vary on your unidentified phone
> to get to About Phone.  Then go to Settings -> General -> Developer
> Options, and check it is On (enabled).  Scroll down and enable debugging
> mode.
> 
> Part 2:
> 
> Install the ADB (Android Debug Bridge) driver on your computer.  Some
> phone makers provide the driver.  However, sometimes the phone makers
> use some esoteric driver names that give no hint they are for the ADB
> feature.  There is almost no difference among them other than branding.
> You could search on "ADB driver download <brand> <model>" to find the
> ADB driver for your phone.  This driver is what defines the hardware
> interface between the computer's OS and the device.  Install the driver.
> 
> Part 3:
> 
> Plug the phone into the computer using a USB cable.  The phone will
> appear as a new drive on the computer.

  Unless I'm misunderstanding what you're describing, what will appear
is *not* a new *drive*, i.e. it will not have a drive letter. What will
appear is a 'thing'  - for example 'Frank's Galaxy A51' - (which you can
'open' and browse around in) which is *only* accessible in (Windows)
File Explorer.

  It not having a drive letter and being only accessible in File
Explorer - i.e. for example not in a Command Prompt windows and not in
most (if not all) other programs - is a severe limitation.

  If FE access is all one needs, then fine, but user beware.

> This was off the top of my head.  There are plenty of online articles on
> how to enable Developer Options and get ADB working between phone and
> computer.  A search on "<brand> <model> ADB" might be sufficient for you
> to see how to enable Dev Options, and where to get the driver.

  N.B. If we're talking about the same thing, i.e. a 'thing' accessible
only in FE, then your 'Part 1' and 'Part 2' are normally not needed,
i.e.  just plug in the USB cable and Windows does the rest (make a MTP
connection between the two).

[...]

[toc] | [prev] | [next] | [standalone]


#148142

FromVanguardLH <V@nguard.LH>
Date2021-09-07 15:29 -0500
Message-ID<d6ev5kxyfdm1$.dlg@v.nguard.lh>
In reply to#148122
Frank Slootweg <this@ddress.is.invalid> wrote:

> VanguardLH <V@nguard.lh> wrote:
>> Kenny McCormack <gazelle@shell.xmission.com> wrote:
>> 
>>> This is technically OP in this NG, but I note that this general topic has
>>> been (and continues to be) extensively discussed here (even though it is,
>>> obviously, OT).
>>> 
>>> Anyway, I now have an Android device and I would like to be able to "net use"
>>> to it from Windows.  It seems like this should be straightforward, but I
>>> don't know which app to install on the Android device.  What do you recommend?
>>> 
>>> Note: I don't need anything fancy.  Don't need any kind of "sharing app" or
>>> anything designed specifically for sharing photos or anything cutesy like
>>> that.  Just something to make a share accessible on the Android side.
>>> 
>>> TIA.
>> 
>> Part 1:
>> 
>> Enable Developer Options on your phone.  Yours may differ, but typically
>> you go into Settings -> General -> About phone -> Software Info, and tap
>> 7 times on  Build number.  Navpath may vary on your unidentified phone
>> to get to About Phone.  Then go to Settings -> General -> Developer
>> Options, and check it is On (enabled).  Scroll down and enable debugging
>> mode.
>> 
>> Part 2:
>> 
>> Install the ADB (Android Debug Bridge) driver on your computer.  Some
>> phone makers provide the driver.  However, sometimes the phone makers
>> use some esoteric driver names that give no hint they are for the ADB
>> feature.  There is almost no difference among them other than branding.
>> You could search on "ADB driver download <brand> <model>" to find the
>> ADB driver for your phone.  This driver is what defines the hardware
>> interface between the computer's OS and the device.  Install the driver.
>> 
>> Part 3:
>> 
>> Plug the phone into the computer using a USB cable.  The phone will
>> appear as a new drive on the computer.
> 
>   Unless I'm misunderstanding what you're describing, what will appear
> is *not* a new *drive*, i.e. it will not have a drive letter. What will
> appear is a 'thing'  - for example 'Frank's Galaxy A51' - (which you can
> 'open' and browse around in) which is *only* accessible in (Windows)
> File Explorer.

It's been a long time since I used Debug Mode between phone and PC.  My
recollection, after doing the setup, was that plugging in the USB cable
from phone into the PC resulted in a new device showing up in File
Explorer, and I thought it was as a drive.

I'd have to do the setup on my current phone to see what got enumerated
in the registry to see what type of device got added.  If it were a mass
storage device type, it should show up as a drive.  If it were defined
as some other device, yep, then it might appear as a named device.
Since you have to install the ADB driver to interface with the phone,
could be the phone is listed as an ADB device instead of a drive.  In
any case, the OP can look at the files on his phone using his computer.

>   It not having a drive letter and being only accessible in File
> Explorer - i.e. for example not in a Command Prompt windows and not in
> most (if not all) other programs - is a severe limitation.

Ask the OP if he wants access other than via File Explorer.

>> This was off the top of my head.  There are plenty of online articles on
>> how to enable Developer Options and get ADB working between phone and
>> computer.  A search on "<brand> <model> ADB" might be sufficient for you
>> to see how to enable Dev Options, and where to get the driver.
> 
>   N.B. If we're talking about the same thing, i.e. a 'thing' accessible
> only in FE, then your 'Part 1' and 'Part 2' are normally not needed,
> i.e.  just plug in the USB cable and Windows does the rest (make a MTP
> connection between the two).

That you see the phone as a named device instead of a drive probably has
to do with your different method of interfacing the computer to the
phone.  In the past, MTP connects weren't possible, or were iffy.  Might
be better now.

https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
See section "Why Modern Android Devices Don’t Support USB Mass Storage"
and section "MTP – Media Device"

Back when I was doing this, MTP (an extension to PTP) wasn't available
on some smartphones, and PTP often didn't work right.

https://en.wikipedia.org/wiki/Media_Transfer_Protocol
"The USB Implementers Forum device working group standardised MTP as a
full-fledged Universal Serial Bus (USB) device class in May 2008."

That doesn't mean when smartphones adopted MTP, by default, on USB
connects.  The OP never revealed which brand and model of smartphone he
has, or what version of Android is running on it.  Being in the dark, I
gave an answer from the dark ages of smartphones.  It probably still
works on new smartphones.

[toc] | [prev] | [next] | [standalone]


#148151

Fromallspam <allspam@allspam.invalid>
Date2021-09-07 17:04 -0400
Message-ID<sh8k40$avq$1@dont-email.me>
In reply to#148142
In article <news:d6ev5kxyfdm1$.dlg@v.nguard.lh>, VanguardLH <V@nguard.LH>
wrote:
> Being in the dark, I
> gave an answer from the dark ages of smartphones.  It probably still
> works on new smartphones.

FYI: Frank and I have tested _every_ possible Android-to-Windows connection.
As far as I know, we are the two main experts in Android/Windows networking.

We've tested _every single suggested method_ (to my knowledge) over time.
0. Android freeware (worked perfectly for me on Nougat 7.0)
1. NetDrive freeware (worked perfectly for me on Windows 10)
2. DirectNetDrive freeware (worked perfectly for me on Windows 10)
3. FTPUse freeware (did not work for me on Windows 10)
4. SFTP NetDrive freeware (did not work for me on Windows 10)
5. FTPDrive freeware (did not work for me on Windows 10)
6. WebDrive trialware (did not work for me on Windows 10)
7. Windows 10 native commands (worked fine for WebDAV but failed for FTP)

These include adb & mtp (e.g., libmtp) in addition to the main servers.
This also includes the main clients (e.g., SMBv3 clients on Android).

We've covered all the syntax involved, and the caveats, and issues.
 UNC & URI Syntax:
   \\HostName[@SSL][@Port]\SharedFolder\Resource
   ftp://[user[:password]@]host[:port]/url-path
   http://[user[:password]@]host[:port]/url-path
 Web browser URL (worked perfectly)
   ftp://francis:francis@192.168.1.7:2221/DCIM/Camera
  <http://www.bild.me/bild.php?file=9948610ftpshare03.jpg>
  <http://www.bild.me/bild.php?file=5127116ftpshare04.jpg>
 Windows network URI (worked perfectly)
   ftp://francis:francis@192.168.1.7:2221/DCIM/Camera
  <http://www.bild.me/bild.php?file=4785408ftpshare01.jpg>
  <http://www.bild.me/bild.php?file=8734999ftpshare02.jpg>
 Windows "net use" (works perfectly for WebDAV)
   net use X: \\192.168.1.7@8000\DCIM\Camera /USER:francis francis
    <http://www.bild.me/bild.php?file=8605173dir05.jpg>
    <http://www.bild.me/bild.php?file=9764689dir015.jpg>
    <http://www.bild.me/bild.php?file=2542487dir016.jpg>
    <http://www.bild.me/bild.php?file=8381514dir017.jpg>
    <http://www.bild.me/bild.php?file=2373390dir019.jpg>
 Windows "net use" (fails miserably for FTP)
   net use X: \\192.168.1.7@2221\DCIM\Camera /USER:francis francis
    <http://www.bild.me/bild.php?file=3626731dir018.jpg>
etcetera

After having tested them _all_... I think (AFAIK)... 
a. Frank prefers FTP (which "maps network drive") reasonably well.
b. I prefer WebDav (which allows Android to be mapped as a drive letter).

Both work fine over wifi and both allow you to run Windows command on the
entire Android visible file system (which depends on Android permissions).

What both Frank and I would love is for SMB/CIFS/Samba to work better.
But on non-rooted Android you have to mess with Windows port mapping.

Since we've discussed _every_ method above to death, there's really no value
in re-hashing the same old information over and over and over again.

Unless there's something new???

[toc] | [prev] | [next] | [standalone]


#148153

FromAndy Burns <usenet@andyburns.uk>
Date2021-09-07 22:11 +0100
Message-ID<ipq2t0Fo7rgU1@mid.individual.net>
In reply to#148151
allspam wrote:

>    <http://www.bild.me/bild.php?file=9948610ftpshare03.jpg>
>    <http://www.bild.me/bild.php?file=5127116ftpshare04.jpg>

All your image hosting links are b0rked.

what does running a TCP server on android do for battery life?  Whether 
it's just listening, or when it's actually connected.

[toc] | [prev] | [next] | [standalone]


#148157

Fromallspam <allspam@allspam.invalid>
Date2021-09-07 18:02 -0400
Message-ID<sh8ngq$2sv$1@dont-email.me>
In reply to#148153
Andy Burns <usenet@andyburns.uk> asked
> what does running a TCP server on android do for battery life?  Whether 
> it's just listening, or when it's actually connected.

Hi Andy,

Here is one of my old screenshots of my networking folder on Android:
<https://i.postimg.cc/3r0yNRcT/network02.jpg> (this is on a $100 Moto G7)

Here's a screenshot today (on a completely different phone) of the same:
<https://i.postimg.cc/Zn73yqm1/network03.jpg> (this is on a free A32 5G)

Those more recent links should work. What you saw before was when I pulled 
the much older links you found out of just one of scores of the very many 
tutorials I wrote on how to connect Android to Windows seamlessly (after 
having tested _every_ method known to man suggested on these newsgroups).

I didn't check those old (borked) images as my point was re-hashing this out 
(again and again and again and again) adds zero value to the discussion.

The only thing that could add value is something new (e.g., when free 
Android SMBv3 clients started shipping - which added security given that 
SMBv1 was found to be insecure).

As for battery life on TCP, I don't know as what I've been using lately is 
my free Samsung Galaxy A32 5G which has such a huge battery (5Amp Hour) and 
fast charging (provided for free in the box no less!) that battery life 
worries is a thing of the past.

Interestingly, if you've been following California news, PG&E has been 
cutting off our power twice a week in the past month, for about a day each 
time, where the Android phones are doing fine but all the iPhones are dead.

That's because Apple cheaped out on iPhone batteries, which is a known fact.
*Why Apple is Using Cheap Battery Parts in iPhone 12*
https://www.maticstoday.com/2020/08/21/why-apple-is-using-cheap-battery-parts-in-iphone-12/

My point is twofold (since you asked about battery life).
1. There is NOTHING NEW to be added (AFAICT) to Android/Windows networking
   given Frank and I tested _every_ known method to the nth degree already.
   We reported on all our results - and we each came to our own conclusions.
   a. I believe Frank recommends FTP while I recommend WebDAV.
   b. Both work fine (as to plenty of other methods we've tested).
   c. The main reason I recommend WebDav is the advantage of a Drive Letter.
   d. However Frank has, I believe, been able to drive letter FTP (did he?)

2. As for battery life, I didn't test battery life in my extensive tests.
   I only tested connectivity and ability to run Windows on top of Android.
   With my latest free Android phone, battery life is a problem of the past.

So someone _else_ will need to answer your question on battery life.
As for connectivity, my advice, after testing them all, is WebDav.

If you want to know the _best_ WebDav and FTP servers for Android, see my 
screenshot where I pick the best software on the planet because I ask 
everyone first, and because I test _all_ viable suggestions so I learn.
<https://i.postimg.cc/Zn73yqm1/network03.jpg> (this is on my free Samsung)
-- 
What matters isn't the meaningless wrapping paper but what's in the package.

[toc] | [prev] | [next] | [standalone]


#148172

FromJoerg Lorenz <hugybear@gmx.ch>
Date2021-09-08 03:40 +0200
Message-ID<sh94ad$4sk$1@dont-email.me>
In reply to#148151
Am 07.09.21 um 23:04 schrieb allspam:
> In article <news:d6ev5kxyfdm1$.dlg@v.nguard.lh>, VanguardLH <V@nguard.LH>
> wrote:
>> Being in the dark, I
>> gave an answer from the dark ages of smartphones.  It probably still
>> works on new smartphones.
> 
> FYI: Frank and I have tested _every_ possible Android-to-Windows connection.
> As far as I know, we are the two main experts in Android/Windows networking.

I love people claiming to be experts on anything! I trust them most.
You are a stupid Troll and who the fuck is Frank?
*PLONK*

-- 
De gustibus non est disputandum

[toc] | [prev] | [next] | [standalone]


#148253

FromFrank Slootweg <this@ddress.is.invalid>
Date2021-09-09 13:06 +0000
Message-ID<shd7tm.o8g.1@ID-201911.user.individual.net>
In reply to#148172
Joerg Lorenz <hugybear@gmx.ch> wrote:
> Am 07.09.21 um 23:04 schrieb allspam:
> > In article <news:d6ev5kxyfdm1$.dlg@v.nguard.lh>, VanguardLH <V@nguard.LH>
> > wrote:
> >> Being in the dark, I
> >> gave an answer from the dark ages of smartphones.  It probably still
> >> works on new smartphones.
> > 
> > FYI: Frank and I have tested _every_ possible Android-to-Windows connection.
> > As far as I know, we are the two main experts in Android/Windows networking.
> 
> I love people claiming to be experts on anything! I trust them most.
> You are a stupid Troll and who the fuck is Frank?

  Uhhhh ... *me*, who posted twice in this thread before you did,
amongst which a response to VanguardLH, whose attribution line you
quoted.

  Not that I value the - implicit - praise from 'allspam' (a.k.a. Arlen
Holder et al), but following this small thread or/and knowing who is in
your killfile shouldn't be that hard.

> *PLONK*

  <firmly sitting on hands>

[toc] | [prev] | [next] | [standalone]


#148263

FromRobin Goodfellow <Ancient-of-Days@Heaven.Net>
Date2021-09-09 17:31 +0000
Message-ID<shdgcs$4tt$1@gioia.aioe.org>
In reply to#148253
Frank Slootweg <this@ddress.is.invalid> asked
> who the fuck is Frank?
> 
>   Uhhhh ... *me*, who posted twice in this thread before you did

Many of us have been connecting all our portable devices to Windows 10:
 <https://i.postimg.cc/DZB9YDcR/copyfiles01.jpg>

Using _all_ the suggested freeware methods on all four OS newsgroups.
 <https://i.postimg.cc/zf1t61KW/copyfiles02.jpg>

As for "Who is Frank", for the record, Frank Slootweg has been posting to
the Android ng for many years, where he has been invaluable in my search for
_all_ possible connection methods to Windows 10 desktops using Android.
 <https://i.postimg.cc/65fLFGVm/kde02.jpg>

Particularly FTP servers on Android to nicely connect to Windows 10 PCs.

We can dig into all the pictorial reviews I wrote (there's a review on each
and every Windows:Android networking method ever suggested on the Android
newsgroup), where there must be over a hundred annotated screenshots posted.
 <https://i.postimg.cc/qBsN34fN/nitroshare04.jpg>

I've connected Android to Windows by almost every method suggested.
 <https://i.postimg.cc/90HqTpw2/nitroshare01.jpg> 

Frank's Windows machine has been able to network to Android quite well
(typically using FTP).

For whatever reason (noted in the reviews with gory details), I haven't been
as successful with FTP as Frank has been - but certainly FTP works as do
most of the many tested methods (e.g., libmpt, adb, ftpuse, net use, etc.).
 <https://i.postimg.cc/bN875p8b/apk01.jpg> 1600 APKs extracted onto Windows

I even wrote Android tutorials for printing to Windows-connected printers.
 <https://i.postimg.cc/DZJprj3b/printing08.jpg> 

Overall, after having personally tested (and written the tutorials and
reviews for each) all the suggested networking methods between Windows and
Android, in a simple summary, I prefer the simplicity and power of WebDav.

I prefer WebDav mainly because with it Android is a Windows drive letter.
So even my Windows scripts work seamlessly with multiple Android devices.

However, given that SMB is _native_ on Windows, and given how well Linux
handles Samba, my dream connection is a SMB _server_ on non-root Android.

As Frank has reported many times in this newsgroup, the reasons that won't
work was already discussed (I think Andy alluded to a possible workaround).

In the past, at the time we were testing _all_ known connection methods
between Android & Windows, there wasn't a free Android SMBv3 server.

But even that has been solved (and the tutorials written on it), long ago.
All those reviews and tutorials are easily found in the public archives.

[toc] | [prev] | [next] | [standalone]


#148265

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2021-09-09 17:35 +0000
Message-ID<shdgl8$1sq9s$1@news.xmission.com>
In reply to#148263
In article <shdgcs$4tt$1@gioia.aioe.org>,
Robin Goodfellow  <Ancient-of-Days@Heaven.Net> wrote:
>Frank Slootweg <this@ddress.is.invalid> asked
>> who the fuck is Frank?
>> 
>>   Uhhhh ... *me*, who posted twice in this thread before you did
>
>Many of us have been connecting all our portable devices to Windows 10:
> <https://i.postimg.cc/DZB9YDcR/copyfiles01.jpg>

So, "Robin Goodfellow" is yet another Arlen Holder nym.

Good to know.

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
	http://user.xmission.com/~gazelle/Sigs/ModernXtian

[toc] | [prev] | [next] | [standalone]


#148255

FromFrank Slootweg <this@ddress.is.invalid>
Date2021-09-09 13:21 +0000
Message-ID<shd8p8.o8g.1@ID-201911.user.individual.net>
In reply to#148142
VanguardLH <V@nguard.lh> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:

[lots deleted]

> That you see the phone as a named device instead of a drive probably has
> to do with your different method of interfacing the computer to the
> phone.  In the past, MTP connects weren't possible, or were iffy.  Might
> be better now.

  MTP on Android exists for at least eight years. I had in on my first
phone with Android 4.1.1 (in September 2013). It's the recommended
method for a USB connected Android device.

> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
> and section "MTP ? Media Device"

  'USB Mass Storage', which indeed *did* show up as a drive in Windows,
was phased out because it has a high risk of data corruption, because
the phone and the computer can both modify the filesystem(s) at the same
time, without any synchronization/handshaking between the two.

> Back when I was doing this, MTP (an extension to PTP) wasn't available
> on some smartphones, and PTP often didn't work right.
> 
> https://en.wikipedia.org/wiki/Media_Transfer_Protocol
> "The USB Implementers Forum device working group standardised MTP as a
> full-fledged Universal Serial Bus (USB) device class in May 2008."
> 
> That doesn't mean when smartphones adopted MTP, by default, on USB
> connects.  The OP never revealed which brand and model of smartphone he
> has, or what version of Android is running on it.  Being in the dark, I
> gave an answer from the dark ages of smartphones.  It probably still
> works on new smartphones.

[toc] | [prev] | [next] | [standalone]


#148256

FromRabidHussar <rabid@huss.ar>
Date2021-09-09 09:35 -0400
Message-ID<A4o_I.35991$YW.3633@fx05.iad>
In reply to#148255
On 2021-09-09 9:21 a.m., Frank Slootweg wrote:
> VanguardLH <V@nguard.lh> wrote:
>> Frank Slootweg <this@ddress.is.invalid> wrote:
> 
> [lots deleted]
> 
>> That you see the phone as a named device instead of a drive probably has
>> to do with your different method of interfacing the computer to the
>> phone.  In the past, MTP connects weren't possible, or were iffy.  Might
>> be better now.
> 
>    MTP on Android exists for at least eight years. I had in on my first
> phone with Android 4.1.1 (in September 2013). It's the recommended
> method for a USB connected Android device.
> 
>> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
>> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
>> and section "MTP ? Media Device"
> 
>    'USB Mass Storage', which indeed *did* show up as a drive in Windows,
> was phased out because it has a high risk of data corruption, because
> the phone and the computer can both modify the filesystem(s) at the same
> time, without any synchronization/handshaking between the two.

That would explain why synchronization on Linux routinely caused 
corruption on my Android's SD card.

-- 
@RabidHussar

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | alt.comp.os.windows-10


csiph-web