Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #49058
| From | Paul <nospam@needed.invalid> |
|---|---|
| Newsgroups | alt.comp.os.windows-10, comp.mobile.android |
| Subject | Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? |
| Date | 2017-08-01 00:08 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <oloujg$rfg$1@dont-email.me> (permalink) |
| References | <olj3e0$g91$1@gioia.aioe.org> |
Cross-posted to 2 groups.
Roy Tremblay wrote:
> How can we debug a flaky Android-to-Windows FTP connection in Windows 10
> File Explorer?
>
> There's nothing wrong with the local LAN.
> There's nothing wrong with Android.
> There's nothing wrong with WinSCP.
> It's only Windows 10 File Explorer that is flaky.
>
> How can I debug why?
>
> BACKGROUND:
> One of the easiest way to connect the Android file system to Windows from a
> anywhere inside or outside of the house (i.e., without cables) and without
> installing anything on Windows is to run an FTP server on Android.
>
> With the FTP server running on Android, on Windows 10, you just use the
> Windows File Explorer to connect to the entire Android file system as if
> Android was mounted as a hard disk drive.
> https://s3.postimg.org/oeccyw1ab/screenshot3.gif
>
> But often, Windows 10 won't anonymously connect to Android via the File
> Explorer ftp URL on the first or second or even third try:
> ftp://192.168.1.16:3721 (where your LAN & port may vary)
> https://s3.postimg.org/r22yrepib/screenshot1.gif
>
> Eventually, Windows 10 *will* connect, without changing anything other than
> rebooting either the phone or the PC or both - but the question is why is
> Windows 10 so flaky?
>
> By way of contrast, installing WinSCP works *every* time, without the
> Windows 10 File Explorer flakiness.
> https://s12.postimg.org/i7sfa92f1/screenshot2.gif
>
> So my current use model is the following, but I ask why Win10 is so flaky?
> 1. I start the ES File Explorer FTP server on Android & get the URL
> ftp://192.168.1.16:3721
> 2. I click on that URL which is already set up in Win10 "This PC"
> 3. If that works, I'm good to go.
> If that fails, I can go through reboots and get it to finally work.
> But it's easier to just use WinSCP when Win10 is flaky.
> 4. I start up WinSCP and that works *every* single time.
>
> Note that nothing changed between Windows 10 File Explorer failing and
> WinSCP working (browsing with a browser would work also), and note that
> after rebooting the phone (usually) and sometimes Windows (not as often
> needed), Windows 10 *will* eventually mount the Android phone in the
> Windows File Explorer.
>
> All I ask here is help from networking experts on how to debug why Window
> 10 File Explorer often fails to mount the Android file system when changing
> nothing whatsoever, WinSCP or a browser connected to the FTP URL works just
> fine.
You can use Wireshark to record the packets sent and received.
However, for that to work, requires a PCAP (packet capture) agent.
On Ethernet connections, this is easy, with the provided WinPCAP
installation that Wireshark bundles with it.
Other PCAP agents include airPCAP for wireless and there is some
sort of usbPCAP for usb connections. But those are not bundled
with Wireshark, may cost money etc. You have to track down a promiscuous
packet capture agent, depending on the kind of wire/media used for
the transfer.
*******
In the discussion here, they mention active and passive FTP connections,
and that a server may happen to be set up for passive only.
https://superuser.com/questions/88531/how-do-i-connect-to-an-ftp-site-in-windows-explorer
ftp://UserName:UserPassW@ftp.yoursite.com:portnum/path/to/files
Obviously, some of those parameters are optional. If using the
standard port, you don't need a portnum. You don't need to
provide "path", and you can cd down to the correct path while
in the session. What's missing, is a way to pass a PASV flag.
*******
To debug an FTP session, you can use Command Prompt and
test FTP from there. There is an ftp client that runs
in Command Prompt.
ftp ftp.yoursite.com
Of particular note for such sessions, there is the "pasv"
command, which switches the connection to passive. So at
least the Command Prompt version does support both.
From my notes, this is a PASV session, on a server that only
supports passive connections. You'd remove the PASV command
for non-passive connections.
ftp ftp.microsoft.com
user anonymous
pass myname@myisp.com
PASV
CD /products/Oemtest/v1.1/WOSTest/Tools/Acpi
binary
get dumppo.exe
That server isn't always running, so don't expect that to work.
That is the sequence to get a 12KB program that can be used
to repair minor ACPI issues on older Windows. Dumppo no longer
works on Windows 10.
Because those sessions are "interactive", you get to see
error messages if a connection cannot be made, or if you
forgot some parameter or step. Based on the evidence you
see there, that may help with your Explorer planned session.
Paul
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-07-29 22:49 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Geoff Realname <realname@ntlworld.com> - 2017-07-31 22:40 +0100
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-07-31 23:23 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Paul <nospam@needed.invalid> - 2017-08-01 00:08 -0400
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Frank Slootweg <this@ddress.is.invalid> - 2017-08-01 14:43 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-01 17:41 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-01 18:04 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-01 18:23 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Frank Slootweg <this@ddress.is.invalid> - 2017-08-01 19:48 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-01 20:23 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-01 21:02 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Frank Slootweg <this@ddress.is.invalid> - 2017-08-02 19:28 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-03 01:02 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? nospam <nospam@nospam.invalid> - 2017-08-02 22:04 -0400
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? M.L. <me@privacy.invalid> - 2017-08-02 00:50 -0500
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-02 13:36 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Char Jackson <none@none.invalid> - 2017-08-02 11:03 -0500
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-03 01:02 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Paul <nospam@needed.invalid> - 2017-08-02 12:31 -0400
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Andy Burns <usenet@andyburns.uk> - 2017-08-03 08:44 +0100
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-03 11:02 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Andy Burns <usenet@andyburns.uk> - 2017-08-03 12:12 +0100
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-03 14:11 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Frank Slootweg <this@ddress.is.invalid> - 2017-08-02 19:31 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Ken Blake <Ken@invalid.news.com> - 2017-08-01 11:37 -0700
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-01 19:04 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? nospam <nospam@nospam.invalid> - 2017-08-01 15:37 -0400
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-02 13:36 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Paul <nospam@needed.invalid> - 2017-08-02 12:32 -0400
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-03 01:02 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-05 14:26 +0000
Re: How to debug flaky Android-to-Windows FTP connection in Windows File Explorer? Roy Tremblay <rmblayrrroy@nlnet.nl> - 2017-08-09 05:26 +0000
Re: How to debug flaky An robert.wolfe@wildcat.uuhec.net (Robert Wolfe) - 2017-08-13 03:19 +0000
csiph-web