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


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

How to debug flaky Android-to-Windows FTP connection in Windows File Explorer?

Started byRoy Tremblay <rmblayrrroy@nlnet.nl>
First post2017-07-29 22:49 +0000
Last post2017-08-13 03:19 +0000
Articles 20 on this page of 33 — 10 participants

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


Contents

  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

Page 1 of 2  [1] 2  Next page →


#48959 — How to debug flaky Android-to-Windows FTP connection in Windows File Explorer?

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-07-29 22:49 +0000
SubjectHow to debug flaky Android-to-Windows FTP connection in Windows File Explorer?
Message-ID<olj3e0$g91$1@gioia.aioe.org>
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.

[toc] | [next] | [standalone]


#49047

FromGeoff Realname <realname@ntlworld.com>
Date2017-07-31 22:40 +0100
Message-ID<olo7sp$1l7$1@dont-email.me>
In reply to#48959
On 29/07/2017 23:49, 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.
> 

Sorry, I can't help with your problem, but just to say thanks for 
WinSCP. I've been having problems transferring files from Win10 via a 
cable, but WinSCP works fine and I no longer have to transfer files via 
Dropbox. No help to you, but a great help to me!

Geoff

-- 
I would be unstoppable if I could get started.

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


#49050

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-07-31 23:23 +0000
Message-ID<oloe4s$q93$1@gioia.aioe.org>
In reply to#49047
Geoff Realname <realname@ntlworld.com> actually wrote:

> Sorry, I can't help with your problem, but just to say thanks for 
> WinSCP. I've been having problems transferring files from Win10 via a 
> cable, but WinSCP works fine and I no longer have to transfer files via 
> Dropbox. No help to you, but a great help to me!

Bummer. I saw a response, where I knew my question was so hard that only
the best of the best of the best would be able to offer any assistance,
when I saw the first line above.

Nonetheless, I'm very happy that WinSCP has served your need.
https://winscp.net/eng/download.php
https://sourceforge.net/projects/winscp/

AFAIK, WinSCP is one of a canonical free file-transfer tool for Windows.

It's so easy to transfer files from Android to Windows just by having both
devices on the same local LAN that I forget that some people still use USB
cable to transfer the files.

Nothing wrong with cable (it's fast) but the beauty of having all the
Android devices in the household on the network is that I can transfer
files from any device in the house to the computer and vice versa, without
getting up out of my chair.

So, for example, I can download a movie or dig up some ebooks or obtain a
podcast on the desktop PC, and then push that file to any mobile device on
the LAN, or pull files from any mobile device on the LAN.

All you need on the mobile device is to run an FTP server, which, for
Android, most of us use ES File Explorer's FTP server:
 ESFileExplorer: Hamburger > Network > Remote Manager > Turn on

In ES File Explorer there's a way to make that sequence above a single
push-button desktop icon named "ESFTP".

ESFileExplorer: Remote Manager > 3 dots > Settings > Create shortcut

And, as you all know, you can change the name of any icon on the desktop
anyway, so, you can just call it "FTP" or whatever you want to call it.

The default port will be 3721 and the default login is anonymous, with a
default directory I think of "sdcard" (at least for my phone it was), but
all that is settable (since I'm rooted, my default is / so that I can move
HOSTS files about and mess about a bit in the Android /etc/ directory).

On Windows, all you need to do is create a network share point of address:
  ftp://192.168.1.10:3721 (where the exact address depends on your LAN)

And, that, in and of itself, allows the entire Android phone to be opened
in the native Windows File Explorer. 

Sometimes...

But the sad fact is that Windows networking is supremely flaky for reasons
unknown to me. So when Windows networking is flaky, I just use WinSCP,
which works 100% of the time.

A similar FTP URL method works for iOS devices to some extent (but iOS is a
different beast altogether with respect to file system access on the iOS
device).

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


#49058

FromPaul <nospam@needed.invalid>
Date2017-08-01 00:08 -0400
Message-ID<oloujg$rfg$1@dont-email.me>
In reply to#48959
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

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


#49069

FromFrank Slootweg <this@ddress.is.invalid>
Date2017-08-01 14:43 +0000
Message-ID<olqb3s.e18.1@ID-201911.user.individual.net>
In reply to#49058
Paul <nospam@needed.invalid> wrote:
> Roy Tremblay wrote:
[...]

> You can use Wireshark to record the packets sent and received.

+1

  Wireshark is not easy, but it's not terribly hard either, assuming one
has the needed networking expertise.

[...]

> 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

  Passive/active is indeed worth exploring.

  I have similar 'flakeyness' problems as 'Roy', but with FTPUSE on the
Windows side. If FTPUSE doesn't connect, another FTP client - in my case
FileZilla - has no problems. I.e. similar to 'Roy' with (Windows 10)
File Explorer versus WINSCP. IME. most 'real' FTP clients default to
passive mode, so if WINSCP does too and File Explorer does not, that may
be a difference to look at. (FWIW, if I don't 'touch'/change my setup,
there's no problem, so for the moment I'm not pursueing this
'flakeyness').

[Excellent suggestion to use 'DOS' FTP command.]

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


#49076

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-01 17:41 +0000
Message-ID<olqeg7$10p$1@gioia.aioe.org>
In reply to#49069
Frank Slootweg <this@ddress.is.invalid> actually wrote:

>   I have similar 'flakeyness' problems as 'Roy', but with FTPUSE on the
> Windows side. If FTPUSE doesn't connect, another FTP client - in my case
> FileZilla - has no problems. I.e. similar to 'Roy' with (Windows 10)
> File Explorer versus WINSCP. IME. most 'real' FTP clients default to
> passive mode, so if WINSCP does too and File Explorer does not, that may
> be a difference to look at. (FWIW, if I don't 'touch'/change my setup,
> there's no problem, so for the moment I'm not pursueing this
> 'flakeyness').

Frank brings up an excellent suggestion which is for us to explore whether
"passive or active mode" might be involved in Windows File Explorer timing
out on FTP addresses. 

Using the new search terms that Frank kindly brought up, I instantly found
this question on stackoverflow, which seems to be similar but there is the
inevitable confusion between Windows [Internet Explorer], and Windows [File
Explorer] where my question has nothing whatsoever to do with a web
browser:

This is the first seemingly apropos hit:
 FTP works from CommandLine but not from Windows [File] Explorer
 https://stackoverflow.com/questions/2370112/ftp-works-from-commandline-but-not-from-windows-explorer

The answer there appeared to be:
 "If ftp.exe can connect, but Windows [File] Explorer can't, 
   then you have a Passive FTP server, and you need to un-check
   the following: 
   Control Panel > Internet Options > Advanced Settings > "Use Passive FTP"
  then click Apply - now Windows [File] Explorer will be able to connect
  to the FTP server.

However I'm not sure if this solution above applies to the Windows [File]
Explorer or to the Windows [Internet] Explorer web browser.

I've unchecked the box, but do you know if that applies to the file browser
or the web browser?

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


#49079

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-01 18:04 +0000
Message-ID<olqfs6$3gs$1@gioia.aioe.org>
In reply to#49076
Roy Tremblay <rmblayrrroy@nlnet.nl> actually wrote:

> However I'm not sure if this solution above applies to the Windows [File]
> Explorer or to the Windows [Internet] Explorer web browser.

In a nutshell, the difference between passive and active FTP is from the
standpoint of the server where the difference seems to be whether the
server establishes the data channel (active) or whether the server lets the
client establish the data channel (passive).
https://stackoverflow.com/questions/1699145/what-is-the-difference-between-active-and-passive-ftp

However, search results are extremely confusing as to whether the Windows
10 "Internet Options" applies "only" to Windows Internet Explorer or if
that Internet Options form also applies to Windows File Explorer.

So every hit is really a guess since not once have I seen a clearly written
question and answer which makes it clear that we're NOT discussion a web
browser at any point in time here.

Here's another hit which, again, confuses Windows [File] Explorer with the
Windows [Internet] Explorer, but which seems to define a similar problem
using the Windows File Explorer.
https://www.tenforums.com/network-sharing/85436-how-set-passive-mode-ftp.html
Windows 10: How to set passive mode for ftp?
 "I have found the answer (after way too many hours searching). The easy
way is to search for "Internet Options" in the Win10 search, and that will
provide a link to the older style options. For some reason I can't find a
way to access this in the newer Win10 config menus. Then it's "Advanced"
and in there you'll find a "Passive FTP" check box. Problem
solved...finally."

Given that information above, it seems that this "Internet Options" form,
which also covers web browsing, also applies, apparently, to file browsing
using the Windows File Explorer. 

Here's what my Control Panel > Internet Options > Advanced was prior:
 [X]Enable FTP folder view (outside of Internet Explorer)
 [X]Use Passive FTP (for firewall and DSL modem compatibility)

Here's what my Control Panel > Internet Options > Advanced is now:
 [X]Enable FTP folder view (outside of Internet Explorer)
 [_]Use Passive FTP (for firewall and DSL modem compatibility)

Time will tell if this works for the Windows File Explorer to make it more
stable.

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


#49082

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-01 18:23 +0000
Message-ID<olqguh$57h$1@gioia.aioe.org>
In reply to#49079
Roy Tremblay <rmblayrrroy@nlnet.nl> actually wrote:

> Given that information above, it seems that this "Internet Options" form,
> which also covers web browsing, also applies, apparently, to file browsing
> using the Windows File Explorer. 
> 
> Here's what my Control Panel > Internet Options > Advanced was prior:
>  [X]Enable FTP folder view (outside of Internet Explorer)
>  [X]Use Passive FTP (for firewall and DSL modem compatibility)
> 
> Here's what my Control Panel > Internet Options > Advanced is now:
>  [X]Enable FTP folder view (outside of Internet Explorer)
>  [_]Use Passive FTP (for firewall and DSL modem compatibility)
> 
> Time will tell if this works for the Windows File Explorer to make it more
> stable.

Unfortunately, changing the Windows 10 "Internet Options" Advanced setting
to switch from the Passive FTP default to Active FTP, didn't work.

At the very same time that I can't connect using the flaky Windows 10 File
Explorer, WinSCP has absolutely no problem connecting with the same
credentials just moments after Windows 10 flaky File Explorer failed.
https://s2.postimg.org/en8vgqit5/ftp_fails.jpg

At the moment, I can only conclude that either a critical setting in
Windows 10 File Explorer is amiss, or, Windows 10 File Explorer is not yet
ready for prime time with respect to basic FTP URLs.

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


#49097

FromFrank Slootweg <this@ddress.is.invalid>
Date2017-08-01 19:48 +0000
Message-ID<olqsua.c0c.1@ID-201911.user.individual.net>
In reply to#49082
Roy Tremblay <rmblayrrroy@nlnet.nl> wrote:
[...]
> Unfortunately, changing the Windows 10 "Internet Options" Advanced setting
> to switch from the Passive FTP default to Active FTP, didn't work.

  Given that situation - i.e. no improvement - and having read all the
current responses, I think your best bet is - as Paul suggested - to use
the'DOS' ftp *command* - i.e. ftp.exe - to try to troubleshoot a
ftp-session to ES File Explorer's FTP server.

  Another suggestion: Try another (than ES File Explorer's) FTP *server*
on your Android device. ES File Explorer is a *common* 'app', but IMNSHO
it isn't all that red hot.

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


#49103

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-01 20:23 +0000
Message-ID<olqnv7$g7o$1@gioia.aioe.org>
In reply to#49097
Frank Slootweg <this@ddress.is.invalid> actually wrote:

>   Given that situation - i.e. no improvement - and having read all the
> current responses, I think your best bet is - as Paul suggested - to use
> the'DOS' ftp *command* - i.e. ftp.exe - to try to troubleshoot a
> ftp-session to ES File Explorer's FTP server.

I agree with you that the problem is something in how communication between
the client and server is different with the two ftp clients (i.e., Windows
File Explorer vs any other tested FTP client to date) ... or 

>   Another suggestion: Try another (than ES File Explorer's) FTP *server*
> on your Android device.

I agree with you that the problem could be the communication of ES File
Explorer's FTP server is somehow different with the two ftp clients (i.e.,
Windows File Explorer vs any other tested FTP client to date).

> ES File Explorer is a *common* 'app', but IMNSHO
> it isn't all that red hot.

I also agree that an FTP server on Android is a commodity, so, any other
Android FTP server should be able to be swapped in place of ES File
Exporer's FTP server.

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


#49106

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-01 21:02 +0000
Message-ID<olqq8b$jll$1@gioia.aioe.org>
In reply to#49103
Roy Tremblay <rmblayrrroy@nlnet.nl> actually wrote:

> I also agree that an FTP server on Android is a commodity, so, any other
> Android FTP server should be able to be swapped in place of ES File
> Exporer's FTP server.

Since I don't even have a Google Play account on Android, I searched
F-Droid for FTP servers, which they have a few to choose from.
https://f-droid.org

primitive ftpd https://f-droid.org/packages/org.primftpd/
FTP Server (Free) https://f-droid.org/packages/be.ppareit.swiftp_free/

I'm not sure of the details (because I don't use Google Play anymore), but
the "ppareit.swiftp" FTP Server app above seems to be packaged for free on
F-Droid and for free/pay on Google Play seemingly similarly to how OSMAnd+
is the Google Play payware equivalent of the F-Droid freeware OSMAnd+ but
where OSMAnd is the slightly cripped version of the Google Play payware.

By analogy, these seem to be the respective free/pay Google Play analogs:
FTP Server https://play.google.com/store/apps/details?id=be.ppareit.swiftp
FTP Server (Demo) https://play.google.com/store/apps/details?id=be.ppareit.swiftp_free

In addition, a search on Google Play pops up these free FTP Servers:
FTP Server https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver
FTPServer https://play.google.com/store/apps/details?id=lutey.FTPServer
Solid Explorer https://play.google.com/store/apps/details?id=pl.solidexplorer
FTP Express https://play.google.com/store/apps/details?id=com.zifero.ftpclient
FX File Explorer https://play.google.com/store/apps/details?id=nextapp.fx
AndFTP https://play.google.com/store/apps/details?id=lysesoft.andftp
FSync https://play.google.com/store/apps/details?id=com.unisaran.android.fsync
FTP Cafe https://play.google.com/store/apps/details?id=com.ftpcafe.trial

And, of course:
ES File Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop

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


#49177

FromFrank Slootweg <this@ddress.is.invalid>
Date2017-08-02 19:28 +0000
Message-ID<oltg4n.65o.1@ID-201911.user.individual.net>
In reply to#49106
Roy Tremblay <rmblayrrroy@nlnet.nl> wrote:
[...]
> By analogy, these seem to be the respective free/pay Google Play analogs:
> FTP Server https://play.google.com/store/apps/details?id=be.ppareit.swiftp
> FTP Server (Demo) https://play.google.com/store/apps/details?id=be.ppareit.swiftp_free
> 
> In addition, a search on Google Play pops up these free FTP Servers:
> FTP Server https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver
> FTPServer https://play.google.com/store/apps/details?id=lutey.FTPServer
> Solid Explorer https://play.google.com/store/apps/details?id=pl.solidexplorer
> FTP Express https://play.google.com/store/apps/details?id=com.zifero.ftpclient
> FX File Explorer https://play.google.com/store/apps/details?id=nextapp.fx
> AndFTP https://play.google.com/store/apps/details?id=lysesoft.andftp
> FSync https://play.google.com/store/apps/details?id=com.unisaran.android.fsync
> FTP Cafe https://play.google.com/store/apps/details?id=com.ftpcafe.trial
> 
> And, of course:
> ES File Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop

  I don't know which search you did in Google Play (the website), but if
I search on "FTP server", I get some which are not on your list.

  I haven't (yet) used another FTP server than the on in ES File
Explorer, but I've (shortly) used a WebDAV server from a developer which
also makes other servers, including a FTP server:

"WebDAV Server" (by The Olive Tree)
<https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver>

"Ftp Server" (by The Olive Tree)
<https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver>
"Passive and active modes."

  Another multi-server developer (which I have *not* used):

"FTP Server Ultimate" (by Ice Cold Apps)
<https://play.google.com/store/apps/details?id=com.icecoldapps.ftpserverultimate>

  This is a Dutch company, so it must be good!

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


#49187

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-03 01:02 +0000
Message-ID<oltsmo$1ci4$3@gioia.aioe.org>
In reply to#49177
Frank Slootweg <this@ddress.is.invalid> actually wrote:

>   I don't know which search you did in Google Play (the website), but if
> I search on "FTP server", I get some which are not on your list.

In general, the cost of freeware isn't in the search, which anyone can run,
but in the testing to find the best wholly-unrestricted completely ad-free
super-powerful canonical tools.

Thanks for clarifying that there are a ton of free FTP servers on Google
Play, which I agree. I hope I didn't imply my search was exhaustive since I
said I don't even use Google Play. 

I only ran the search so that others could benefit from the results, since
most people probably use Google Play even though they don't need to most of
the time.

If your search found *better* FTP Servers than mine did, then that's good
because the point is for others to benefit from our efforts so that
everyone benefits from every post we make.
 
>   I haven't (yet) used another FTP server than the on in ES File
> Explorer, but I've (shortly) used a WebDAV server from a developer which
> also makes other servers, including a FTP server:
> 
> "WebDAV Server" (by The Olive Tree)
> <https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver>
> 
> "Ftp Server" (by The Olive Tree)
> <https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver>
> "Passive and active modes."

In general, the cost of freeware isn't in the search, which anyone can run,
but in the testing to find the best wholly-unrestricted completely ad-free
super-powerful canonical tools.

You'll note that my list did contain an "Olive Tree" FTP Server:
FTP Server https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver

So it's good that we are helping others with URLs to good Android FTP
servers.
 
>   Another multi-server developer (which I have *not* used):
> 
> "FTP Server Ultimate" (by Ice Cold Apps)
> <https://play.google.com/store/apps/details?id=com.icecoldapps.ftpserverultimate>
> 
>   This is a Dutch company, so it must be good!

In general, the cost of freeware isn't in the search, which anyone can run,
but in the testing to find the best wholly-unrestricted completely ad-free
super-powerful canonical tools.

It's good that we work together to help others find good Android FTP
servers as that last link to Ice Cold App's FTP server was not in my
original list.

Looking at the marketing blurb, it sounds like a good find for us to test,
however I do note that it seems to have some limitations which may or may
not matter to the user.
 "In this version you can add two servers (FTP, SFTP, FTPS Implicit, or
Dynamic DNS Updaters), three users and three optional allowed IP addresses
per server. If you want to be able to add unlimited items please buy FTP
Server Ultimate Pro."

Finding the best is more than just running a search.

To that end, I'm testing out the free ones I previously mentioned from
F-Droid, which are working fine with Windows 10 so far (time will tell).

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


#49192

Fromnospam <nospam@nospam.invalid>
Date2017-08-02 22:04 -0400
Message-ID<020820172204272221%nospam@nospam.invalid>
In reply to#49187
In article <oltsmo$1ci4$3@gioia.aioe.org>, Roy Tremblay
<rmblayrrroy@nlnet.nl> wrote:

> 
> >   I don't know which search you did in Google Play (the website), but if
> > I search on "FTP server", I get some which are not on your list.
> 
> In general, the cost of freeware isn't in the search, which anyone can run,
> but in the testing to find the best wholly-unrestricted completely ad-free
> super-powerful canonical tools.

which often costs more than the buck or two a paid app costs.

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


#49132

FromM.L. <me@privacy.invalid>
Date2017-08-02 00:50 -0500
Message-ID<4pp2octne15ljl11orl7ho3i3ak9p1e5li@4ax.com>
In reply to#49082

>At the moment, I can only conclude that either a critical setting in
>Windows 10 File Explorer is amiss, or, Windows 10 File Explorer is not yet
>ready for prime time with respect to basic FTP URLs.

In spite of the issues you're having with it, I can say with certainty
that Windows 10 File Explorer works with Android FTP clients. I use it
all the time.

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


#49154

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-02 13:36 +0000
Message-ID<olskga$1aq7$2@gioia.aioe.org>
In reply to#49132
"M.L." <me@privacy.invalid> actually wrote:

>>At the moment, I can only conclude that either a critical setting in
>>Windows 10 File Explorer is amiss, or, Windows 10 File Explorer is not yet
>>ready for prime time with respect to basic FTP URLs.
> 
> In spite of the issues you're having with it, I can say with certainty
> that Windows 10 File Explorer works with Android FTP clients. I use it
> all the time.

Everyone agrees with you that Windows File Explorer "works" with FTP URIs.
Nobody said otherwise.

What I (and some others) have said is that something is flaky in that it
doesn't work all the time when other FTP clients on Windows work just fine
at that same time that the Windows File Explorer doesn't.

That's why this question is a "how to debug" question.

I think the debugging suggestions from Paul & Frank are valid, which take
time but which should elucidate, over time, what's different about the
Windows File Explorer that makes it fail when other Windows FTP clients
work. 

1. Debug with Wiresshark (to look at communication differences)
2. Experiment with different Android FTP servers 
3. Experiment with passive vs active FTP-client settings

What's still confusing is that nobody on Windows seems to know how to
explicitly tell the Windows File Explorer to go into passive or active mode
if it's true what Ken Blake said that the Windows Control Panel "Internet
Options" setting is only for the web browser named Windows Internet
Explorer.

Whether Ken is correct or not is what the Windows users collectively can
clarify since I showed indications that both the Windows File Explorer and
the Windows Internet Explorer "explore the Internet"; but that, in and of
itself, tells us nothing about whether the Control Panel "Internet Options"
affects the Windows File Explorer.

Hence it's an open question whose answer is only known to Windows experts:
Q: How do you tell Windows File Explorer to use active/passive FTP modes?
A: ?

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


#49161

FromChar Jackson <none@none.invalid>
Date2017-08-02 11:03 -0500
Message-ID<6it3ochbuo3nkrhoaklcmrd3sg5csd429e@4ax.com>
In reply to#49154
On Wed, 2 Aug 2017 13:36:11 +0000 (UTC), Roy Tremblay
<rmblayrrroy@nlnet.nl> wrote:

>What's still confusing is that nobody on Windows seems to know how to
>explicitly tell the Windows File Explorer to go into passive or active mode

It was the first Google hit just now, so it's probably more a case that
nobody bothered to Google it for you. Could Google be wrong? Sure, but
see below on how to test it quickly and easily.

You set active vs passive globally, via Internet Options. That setting
affects both Internet Explorer and File Explorer.

>Hence it's an open question whose answer is only known to Windows experts:
>Q: How do you tell Windows File Explorer to use active/passive FTP modes?
>A: ?

You don't have to be any kind of expert. Change the setting and test it.
Internet Options, Advanced tab, partway down.

Download and install an FTP server on your PC. Configure it to allow
only active or only passive connections, then try connecting to it with
File Explorer. Yes, you can have the FTP server and the FTP client
running on the same host.

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


#49186

FromRoy Tremblay <rmblayrrroy@nlnet.nl>
Date2017-08-03 01:02 +0000
Message-ID<oltsmm$1ci4$2@gioia.aioe.org>
In reply to#49161
Char Jackson <none@none.invalid> actually wrote:

>>What's still confusing is that nobody on Windows seems to know how to
>>explicitly tell the Windows File Explorer to go into passive or active mode
> 
> It was the first Google hit just now, so it's probably more a case that
> nobody bothered to Google it for you. Could Google be wrong? Sure, but
> see below on how to test it quickly and easily.

First, let's try to keep this a *positive* discussion, where your
intimation is patently false but understood completely so I'm ok that you
think I didn't google.

Since I already provided numerous URLs to stackexchange and specifically to 
http://www.how2lab.com/internet/hosting/ftp-using-windows-explorer.php
it's clear that I googled for the answer.

The problem is that the search terms for Windows File Explorer and Windows
Internet Explorer tend to get confused since almost NOBODY writes
explicityly what I have been very careful to do in this thread, which is to
distinguish between the *file* explorer, and the *browser*, both of which
explore the Internet and both of which many people loosely refer to as
"Windows Explorer".
 
> You set active vs passive globally, via Internet Options. That setting
> affects both Internet Explorer and File Explorer.

This is as I had *guessed* but it's completely contrary to what Ken Blake
*said*, so, do you have a reference other than the reference I already
quoted to Ken Blake (see below that says the same thing you just said?
http://www.how2lab.com/internet/hosting/ftp-using-windows-explorer.php

> You don't have to be any kind of expert. Change the setting and test it.
> Internet Options, Advanced tab, partway down.

I think you're just a little behind on the results since I already reported
back that I tested unchecking that setting in the Control Panel Internet
Options Advanced section, and nothing changed.

However, I did find out something interesting when I ran a few tests
suggested by Paul and Frank so I'm working on that as we speak.

> Download and install an FTP server on your PC. Configure it to allow
> only active or only passive connections, then try connecting to it with
> File Explorer. Yes, you can have the FTP server and the FTP client
> running on the same host.

As every post should help everyone collectively, I thank you for that
unique debugging idea, which, after all, is the topic of this thread.

Thanks for that debugging suggestion!

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


#49165

FromPaul <nospam@needed.invalid>
Date2017-08-02 12:31 -0400
Message-ID<olsuhe$741$1@dont-email.me>
In reply to#49154
Roy Tremblay wrote:

> 
> Hence it's an open question whose answer is only known to Windows experts:
> Q: How do you tell Windows File Explorer to use active/passive FTP modes?
> A: ?

Hence, it's in your best interest to characterize the FTP server
being provided by Android, to see whether this is even a PASV
issue. I wouldn't get my knickers in a knot, unless I had specifically
narrowed the issue down to that factor. What did your
Command Prompt ftp session testing show you ? What new
symptoms did it show ?

Anyone who has even remotely heard of FTP, should know
how to carry out an interactive session (using whatever
passes for a Terminal on the platform). As it's going
to provide feedback. What steps fail there ?

    Paul

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


#49199

FromAndy Burns <usenet@andyburns.uk>
Date2017-08-03 08:44 +0100
Message-ID<eug2jaFk1ntU1@mid.individual.net>
In reply to#49154
Roy Tremblay wrote:

> nobody on Windows seems to know how to
> explicitly tell the Windows File Explorer to go into passive or active mode

If you want that level of control (and more besides) use a 'proper' FTP 
client like filezilla etc, not Windows Explorer that just has minimal 
FTP functionality built-in.

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


Page 1 of 2  [1] 2  Next page →

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


csiph-web