unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port
@ 2010-09-14 18:57 Dani Moncayo
  2010-09-14 20:20 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Dani Moncayo @ 2010-09-14 18:57 UTC (permalink / raw)
  To: 7034

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

Hello,

I'm testing the opening of remote files with GNU Emacs.

That works fine in my Ubuntu 10.04 version (GNU Emacs 23.2.1
(x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)), but fails in my
Windows XP one (GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)).

To reproduce:
1.- Start Emacs (anyhow).
2.- Type `C-x C-f'.
3.- In the minibuffer, write the PATH of a remote file, accessible via
FTP. For example: `/ftp:ftp@ftp.mozilla.org:/pub/mozilla.org/README'.

Am I doing something wrong? Or is it a bug? (This same procedure works
in the Ubuntu port!!)

Thanks in advance.

I've attached the contents of the *Messages* buffer
(standard_messages_buffer.txt), and the *ftp
ftp@ftp.mozilla.org:/pub/mozilla.org* buffer
(ftp_messages_buffer.txt).

In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)
 of 2010-05-08 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include'

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: ESN
 value of $XMODIFIERS: nil
 locale-coding-system: cp1252
 default enable-multibyte-characters: t

[-- Attachment #2: standard_messages_buffer.txt --]
[-- Type: text/plain, Size: 799 bytes --]

For information about GNU Emacs and the GNU system, type C-h C-a.
Loading tramp...done
Opening FTP connection to ftp.mozilla.org...done
Logging in as user ftp@ftp.mozilla.org...done
Getting PWD...done
Doing CD...done
Listing /ftp:ftp@ftp.mozilla.org:/pub/mozilla.org/... [2 times]
Opening FTP connection to ftp.mozilla.org...done
Logging in as user ftp@ftp.mozilla.org...done
Getting PWD...done
Doing CD...done
Listing /ftp:ftp@ftp.mozilla.org:/pub/mozilla.org/... [2 times]
Opening FTP connection to ftp.mozilla.org...done
Logging in as user ftp@ftp.mozilla.org...done
Getting PWD...done
Doing CD...done
Listing /ftp:ftp@ftp.mozilla.org:/pub/mozilla.org/... [2 times]
byte-code: FTP Error: DIR failed: Not connected.
Saving file c:/ftp_messages.log...
Wrote c:/ftp_messages.log

[-- Attachment #3: ftp_messages_buffer.txt --]
[-- Type: text/plain, Size: 5170 bytes --]

Invalid help command foo.
open ftp.mozilla.org
Connected to dm-ftp01.mozilla.org.
220-
220-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
220-
220-   Notice: This server is the only place to obtain nightly builds and needs to
220-   remain available to developers and testers. High bandwidth servers that
220-   contain the public release files are available at ftp://releases.mozilla.org/
220-   If you need to link to a public release, please link to the release server,
220-   not here. Thanks!
220-
220-   Attempts to download high traffic release files from this server will get a
220-   "550 Permission denied." response.
220 
user "ftp" Turtle Power!
331 Please specify the password.
230-
230-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
230-
230-   Notice: This server is the only place to obtain nightly builds and needs to
230-   remain available to developers and testers. High bandwidth servers that
230-   contain the public release files are available at ftp://releases.mozilla.org/
230-   If you need to link to a public release, please link to the release server,
230-   not here. Thanks!
230-
230-   Attempts to download high traffic release files from this server will get a
230-   "550 Permission denied." response.
230 Login successful.
hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
pwd
257 "/"
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/"
250 Directory successfully changed.
ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
Connection closed by remote host.
ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
Not connected.
Invalid help command foo.
open ftp.mozilla.org
Connected to dm-ftp01.mozilla.org.
220-
220-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
220-
220-   Notice: This server is the only place to obtain nightly builds and needs to
220-   remain available to developers and testers. High bandwidth servers that
220-   contain the public release files are available at ftp://releases.mozilla.org/
220-   If you need to link to a public release, please link to the release server,
220-   not here. Thanks!
220-
220-   Attempts to download high traffic release files from this server will get a
220-   "550 Permission denied." response.
220 
user "ftp" Turtle Power!
331 Please specify the password.
230-
230-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
230-
230-   Notice: This server is the only place to obtain nightly builds and needs to
230-   remain available to developers and testers. High bandwidth servers that
230-   contain the public release files are available at ftp://releases.mozilla.org/
230-   If you need to link to a public release, please link to the release server,
230-   not here. Thanks!
230-
230-   Attempts to download high traffic release files from this server will get a
230-   "550 Permission denied." response.
230 Login successful.
hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
pwd
257 "/"
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/"
250 Directory successfully changed.
ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012gFW
Connection closed by remote host.
ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012gFW
Not connected.
Invalid help command foo.
open ftp.mozilla.org
Connected to dm-ftp01.mozilla.org.
220-
220-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
220-
220-   Notice: This server is the only place to obtain nightly builds and needs to
220-   remain available to developers and testers. High bandwidth servers that
220-   contain the public release files are available at ftp://releases.mozilla.org/
220-   If you need to link to a public release, please link to the release server,
220-   not here. Thanks!
220-
220-   Attempts to download high traffic release files from this server will get a
220-   "550 Permission denied." response.
220 
user "ftp" Turtle Power!
331 Please specify the password.
230-
230-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
230-
230-   Notice: This server is the only place to obtain nightly builds and needs to
230-   remain available to developers and testers. High bandwidth servers that
230-   contain the public release files are available at ftp://releases.mozilla.org/
230-   If you need to link to a public release, please link to the release server,
230-   not here. Thanks!
230-
230-   Attempts to download high traffic release files from this server will get a
230-   "550 Permission denied." response.
230 Login successful.
hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
pwd
257 "/"
cd "/pub/mozilla.org/"
250 Directory successfully changed.
ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012tPc
Connection closed by remote host.
ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012tPc
Not connected.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port
  2010-09-14 18:57 bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port Dani Moncayo
@ 2010-09-14 20:20 ` Eli Zaretskii
  2010-09-14 21:25   ` Dani Moncayo
  2010-09-14 23:10 ` Jason Rumney
  2011-06-01 18:28 ` bug#7034: 24.0.50; Visit a remote file fails on windows Dani Moncayo
  2 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2010-09-14 20:20 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7034

> Date: Tue, 14 Sep 2010 20:57:49 +0200
> From: Dani Moncayo <dmoncayo@gmail.com>
> Cc: 
> 
> 1.- Start Emacs (anyhow).
> 2.- Type `C-x C-f'.
> 3.- In the minibuffer, write the PATH of a remote file, accessible via
> FTP. For example: `/ftp:ftp@ftp.mozilla.org:/pub/mozilla.org/README'.

I cannot reproduce this, on Windows XP SP2.  It works for me.

> Am I doing something wrong? Or is it a bug? (This same procedure works
> in the Ubuntu port!!)

I would suspect some network setup, because where you get your
connection closed:

    257 "/"
    cd "/pub/mozilla.org/README/"
    550 Failed to change directory.
    cd "/pub/mozilla.org/README/"
    550 Failed to change directory.
    cd "/pub/mozilla.org/"
    250 Directory successfully changed.
    ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
    Connection closed by remote host.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I get the directory listing:

    257 "/"
    cd "/pub/mozilla.org/README/"
    550 Failed to change directory.
    cd "/pub/mozilla.org/README/"
    550 Failed to change directory.
    cd "/pub/mozilla.org/"
    250 Directory successfully changed.
    ls -al c:/DOCUME~1/Zaretzky/LOCALS~1/Temp/ange-ftp2956QFL
    200 PORT command successful. Consider using PASV.
    150 Here comes the directory listing.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port
  2010-09-14 20:20 ` Eli Zaretskii
@ 2010-09-14 21:25   ` Dani Moncayo
  2010-09-14 23:11     ` Jason Rumney
  0 siblings, 1 reply; 14+ messages in thread
From: Dani Moncayo @ 2010-09-14 21:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 7034

> I would suspect some network setup, because where you get your
> connection closed:
>
>    257 "/"
>    cd "/pub/mozilla.org/README/"
>    550 Failed to change directory.
>    cd "/pub/mozilla.org/README/"
>    550 Failed to change directory.
>    cd "/pub/mozilla.org/"
>    250 Directory successfully changed.
>    ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
>    Connection closed by remote host.
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> I get the directory listing:
>
>    257 "/"
>    cd "/pub/mozilla.org/README/"
>    550 Failed to change directory.
>    cd "/pub/mozilla.org/README/"
>    550 Failed to change directory.
>    cd "/pub/mozilla.org/"
>    250 Directory successfully changed.
>    ls -al c:/DOCUME~1/Zaretzky/LOCALS~1/Temp/ange-ftp2956QFL
>    200 PORT command successful. Consider using PASV.
>    150 Here comes the directory listing.
>

Maybe. But it that same Windows machine, I can open that same remote
file with an Internet Browser (URL
"ftp://ftp.mozilla.org/pub/mozilla.org/README").

Now I wonder this: as you can see, the last command previous to the
error is an "ls" command. That is a UNIX shell command, not available
in Windows machines AFAIK. So, I guess Emacs somehow emulates it. But
I'm tried to run the command with `M-!' and I get this error:
> 'ls' is not recognized as an internal or external command,
> operable program or batch file.

So... Do I need to install some extra tools in my Windows machine to
make "ls" and other UNIX commands work?.
(I've just downloaded the file "emacs-23.2-bin-i386.zip", extracted
their contents into my hard disk, and invoked "runemacs.exe").





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port
  2010-09-14 18:57 bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port Dani Moncayo
  2010-09-14 20:20 ` Eli Zaretskii
@ 2010-09-14 23:10 ` Jason Rumney
  2010-09-16  6:09   ` Dani Moncayo
  2011-06-01 18:28 ` bug#7034: 24.0.50; Visit a remote file fails on windows Dani Moncayo
  2 siblings, 1 reply; 14+ messages in thread
From: Jason Rumney @ 2010-09-14 23:10 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7034

Dani Moncayo <dmoncayo@gmail.com> writes:

> cd "/pub/mozilla.org/"
> 250 Directory successfully changed.
> ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
> Connection closed by remote host.
> ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
> Not connected.

This is usually a sign that you are on a NATed connection and require
passive mode.  The Windows FTP client does not support passive
mode. Alternative FTP clients for Windows exist to get around this and
other restrictions of the standard Windows client.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port
  2010-09-14 21:25   ` Dani Moncayo
@ 2010-09-14 23:11     ` Jason Rumney
  0 siblings, 0 replies; 14+ messages in thread
From: Jason Rumney @ 2010-09-14 23:11 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7034

Dani Moncayo <dmoncayo@gmail.com> writes:

> Now I wonder this: as you can see, the last command previous to the
> error is an "ls" command. That is a UNIX shell command, not available
> in Windows machines AFAIK.

In this case it is an FTP command, not a shell command, so whether it is
installed locally is not relevant.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port
  2010-09-14 23:10 ` Jason Rumney
@ 2010-09-16  6:09   ` Dani Moncayo
  2010-09-16  6:50     ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Dani Moncayo @ 2010-09-16  6:09 UTC (permalink / raw)
  To: Jason Rumney; +Cc: 7034

On Wed, Sep 15, 2010 at 1:10 AM, Jason Rumney <jasonr@gnu.org> wrote:
> Dani Moncayo <dmoncayo@gmail.com> writes:
>
>> cd "/pub/mozilla.org/"
>> 250 Directory successfully changed.
>> ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
>> Connection closed by remote host.
>> ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
>> Not connected.
>
> This is usually a sign that you are on a NATed connection and require
> passive mode.  The Windows FTP client does not support passive
> mode. Alternative FTP clients for Windows exist to get around this and
> other restrictions of the standard Windows client.
>

You must be right, because I have Windows XP installed on top of
Ubuntu, using Virtualbox, and the guest OS has an NATed network
connection.

Thank you.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port
  2010-09-16  6:09   ` Dani Moncayo
@ 2010-09-16  6:50     ` Eli Zaretskii
  0 siblings, 0 replies; 14+ messages in thread
From: Eli Zaretskii @ 2010-09-16  6:50 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7034-done

> Date: Thu, 16 Sep 2010 08:09:01 +0200
> From: Dani Moncayo <dmoncayo@gmail.com>
> Cc: 7034@debbugs.gnu.org
> 
> On Wed, Sep 15, 2010 at 1:10 AM, Jason Rumney <jasonr@gnu.org> wrote:
> > Dani Moncayo <dmoncayo@gmail.com> writes:
> >
> >> cd "/pub/mozilla.org/"
> >> 250 Directory successfully changed.
> >> ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
> >> Connection closed by remote host.
> >> ls -al c:/DOCUME~1/admin/LOCALS~1/Temp/ange-ftp4012GxJ
> >> Not connected.
> >
> > This is usually a sign that you are on a NATed connection and require
> > passive mode.  The Windows FTP client does not support passive
> > mode. Alternative FTP clients for Windows exist to get around this and
> > other restrictions of the standard Windows client.
> >
> 
> You must be right, because I have Windows XP installed on top of
> Ubuntu, using Virtualbox, and the guest OS has an NATed network
> connection.

I'm closing the bug report.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 24.0.50; Visit a remote file fails on windows
  2010-09-14 18:57 bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port Dani Moncayo
  2010-09-14 20:20 ` Eli Zaretskii
  2010-09-14 23:10 ` Jason Rumney
@ 2011-06-01 18:28 ` Dani Moncayo
  2011-06-01 23:54   ` Juanma Barranquero
  2 siblings, 1 reply; 14+ messages in thread
From: Dani Moncayo @ 2011-06-01 18:28 UTC (permalink / raw)
  To: 7034

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

I'm reopening this bug report, because I'm experiencing it with the
latest Windows build of Emacs, on a Windows 7 system (real, not
virtualized).

0. emacs -Q.
1. C-x C-f /ftp@ftp.mozilla.org:/pub/mozilla.org/README

I don't understand why Emacs is unable to visit that file, given that:
 * My browser can show the contents of the file without problem.
 * I also can get the file using the standard windows ftp client (I
sign in with user="ftp" and pass="ftp").
 * My network connection has nothing special: An ethernet port
connected to a cable modem.

I've attached the contents of the ftp session buffer.

TIA.

In GNU Emacs 24.0.50.1 (i386-mingw-nt6.1.7600)
 of 2011-05-31 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 6.1.7600
configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/includ

-- 
Dani Moncayo

[-- Attachment #2: ftp-buffer --]
[-- Type: application/octet-stream, Size: 3873 bytes --]

Invalid help command foo.
open ftp.mozilla.org
Connected to ftp.zlb-ftp.sj.mozilla.com.
220-
220-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
220-
220-   Notice: This server is the only place to obtain nightly builds and needs to
220-   remain available to developers and testers. High bandwidth servers that
220-   contain the public release files are available at ftp://releases.mozilla.org/
220-   If you need to link to a public release, please link to the release server,
220-   not here. Thanks!
220-
220-   Attempts to download high traffic release files from this server will get a
220-   "550 Permission denied." response.
220 
user "ftp" Turtle Power!
331 Please specify the password.
230-
230-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
230-
230-   Notice: This server is the only place to obtain nightly builds and needs to
230-   remain available to developers and testers. High bandwidth servers that
230-   contain the public release files are available at ftp://releases.mozilla.org/
230-   If you need to link to a public release, please link to the release server,
230-   not here. Thanks!
230-
230-   Attempts to download high traffic release files from this server will get a
230-   "550 Permission denied." response.
230 Login successful.
hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
pwd
257 "/"
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/"
250 Directory successfully changed.
ls -al c:/Users/Dani/AppData/Local/Temp/ange-ftp4024Qjv
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
#226 Directory send OK.
ftp: 2600 bytes received in Seconds Kbytes/sec.
ls -al c:/Users/Dani/AppData/Local/Temp/ange-ftp4024Qjv
0,002600,00200 PORT command successful. Consider using PASV.
cd "/pub/mozilla.org/README/"
150 Here comes the directory listing.
#226 Directory send OK.
ftp: 2600 bytes received in Seconds Kbytes/sec.
cd "/pub/mozilla.org/README/"
0,002600,00550 Failed to change directory.
cd "/pub/mozilla.org/"
550 Failed to change directory.
cd "/pub/mozilla.org/"
250 Directory successfully changed.
ls -al c:/Users/Dani/AppData/Local/Temp/ange-ftp4024P3E
250 Directory successfully changed.
cd "/pub/mozilla.org/README/"
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
#226 Directory send OK.
ftp: 2600 bytes received in Seconds Kbytes/sec.
cd "/pub/mozilla.org/README/"
0,002600,00550 Failed to change directory.
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/"
550 Failed to change directory.
cd "/pub/mozilla.org/"
250 Directory successfully changed.
ls -al c:/Users/Dani/AppData/Local/Temp/ange-ftp40242VX
250 Directory successfully changed.
cd "/pub/mozilla.org/README/"
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
#226 Directory send OK.
ftp: 2600 bytes received in Seconds Kbytes/sec.
cd "/pub/mozilla.org/README/"
0,002600,00550 Failed to change directory.
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/mozilla.org/README/"
550 Failed to change directory.
cd "/pub/"
550 Failed to change directory.
cd "/pub/"
250 Directory successfully changed.
ls -al c:/Users/Dani/AppData/Local/Temp/ange-ftp4024d0p
250 Directory successfully changed.
cd "/pub/mozilla.org/"
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
#226 Directory send OK.
ftp: 2600 bytes received in Seconds Kbytes/sec.
cd "/pub/mozilla.org/"
0,002600,00250 Directory successfully changed.
250 Directory successfully changed.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 24.0.50; Visit a remote file fails on windows
  2011-06-01 18:28 ` bug#7034: 24.0.50; Visit a remote file fails on windows Dani Moncayo
@ 2011-06-01 23:54   ` Juanma Barranquero
  2011-06-02 18:00     ` Dani Moncayo
  0 siblings, 1 reply; 14+ messages in thread
From: Juanma Barranquero @ 2011-06-01 23:54 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7034

> I'm reopening this bug report, because I'm experiencing it with the
> latest Windows build of Emacs, on a Windows 7 system (real, not
> virtualized).

I'm using a trunk build, on a Windows 7 Home Premium SP1 64-bit, and
it works. Apparently the difference between your log and mine is the
use of passive mode.

    Juanma



ftp> ?Invalid help command foo
ftp> open ftp.mozilla.org
Connected to ftp.zlb-ftp.sj.mozilla.com.
220-
220-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
220-
220-   Notice: This server is the only place to obtain nightly builds
and needs to
220-   remain available to developers and testers. High bandwidth servers that
220-   contain the public release files are available at
ftp://releases.mozilla.org/
220-   If you need to link to a public release, please link to the
release server,
220-   not here. Thanks!
220-
220-   Attempts to download high traffic release files from this
server will get a
220-   "550 Permission denied." response.
220
ftp> user "ftp" Turtle Power!
331 Please specify the password.
230-
230-   ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
230-
230-   Notice: This server is the only place to obtain nightly builds
and needs to
230-   remain available to developers and testers. High bandwidth servers that
230-   contain the public release files are available at
ftp://releases.mozilla.org/
230-   If you need to link to a public release, please link to the
release server,
230-   not here. Thanks!
230-
230-   Attempts to download high traffic release files from this
server will get a
230-   "550 Permission denied." response.
230 Login successful.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> pwd
257 "/"
ftp> cd "/pub/mozilla.org/README/"
550 Failed to change directory.
ftp> cd "/pub/mozilla.org/README/"
550 Failed to change directory.
ftp> cd "/pub/mozilla.org/"
250 Directory successfully changed.
ftp> ls -al c:/Users/MyUserName/AppData/Local/Temp/ange-ftp3268Rs0
227 Entered Passive Mode (63,245,209,125,201,139)
150 Here comes the directory listing.

226 Directory send OK.
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> type binary
200 Switching to Binary mode.
ftp> quote size "/pub/mozilla.org/README"
213 388
ftp> quote size "/pub/mozilla.org/README"
213 388
ftp> type ascii
200 Switching to ASCII mode.
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> type binary
200 Switching to Binary mode.
ftp> quote size "/pub/mozilla.org/README"
213 388
ftp> quote size "/pub/mozilla.org/README"
213 388
ftp> type ascii
200 Switching to ASCII mode.
ftp> type binary
200 Switching to Binary mode.
ftp> get "/pub/mozilla.org/README"
c:/Users/MyUserName/AppData/Local/Temp/ange-ftp3268D2D
227 Entered Passive Mode (63,245,209,125,201,118)
150 Opening BINARY mode data connection for /pub/mozilla.org/README (388 bytes).

226 File send OK.
388 bytes received in 1e-006 seconds (3.8e+005 Kbytes/s)
ftp> type ascii
200 Switching to ASCII mode.
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> quote mdtm /pub/mozilla.org/README
213 20100223125346
ftp> type binary
200 Switching to Binary mode.
ftp> quote size "/pub/mozilla.org/README"
213 388
ftp> quote size "/pub/mozilla.org/README"
213 388
ftp> type ascii
200 Switching to ASCII mode.
ftp>





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 24.0.50; Visit a remote file fails on windows
  2011-06-01 23:54   ` Juanma Barranquero
@ 2011-06-02 18:00     ` Dani Moncayo
  2016-08-24 10:12       ` Michael Albinus
  0 siblings, 1 reply; 14+ messages in thread
From: Dani Moncayo @ 2011-06-02 18:00 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 7034

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

> I'm using a trunk build, on a Windows 7 Home Premium SP1 64-bit, and
> it works.
FWIW, I have Windows 7 Ultimate 32-bit.


> Apparently the difference between your log and mine is the
> use of passive mode.
Well, I don't know the reason for that difference. I've not tweaked
anything in Emacs nor Windows.

BTW, I forgot to attach the contents of the *Messages* buffer. I'm
doing it now; it may give a clue.

-- 
Dani Moncayo

[-- Attachment #2: Messages --]
[-- Type: application/octet-stream, Size: 511 bytes --]

For information about GNU Emacs and the GNU system, type C-h C-a.
Opening FTP connection to ftp.mozilla.org...done
Logging in as user ftp@ftp.mozilla.org...done
Getting PWD...done
Doing CD...done
Listing /ftp@ftp.mozilla.org:/pub/mozilla.org/... [2 times]
Doing CD...done
Listing /ftp@ftp.mozilla.org:/pub/mozilla.org/...done
Doing CD...done
Listing /ftp@ftp.mozilla.org:/pub/mozilla.org/...done
Doing CD... [4 times]
byte-code: FTP Error: DIR failed: 0,002600,00250 Directory successfully changed.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 24.0.50; Visit a remote file fails on windows
  2011-06-02 18:00     ` Dani Moncayo
@ 2016-08-24 10:12       ` Michael Albinus
  2016-08-24 13:17         ` Dani Moncayo
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Albinus @ 2016-08-24 10:12 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7034

Dani Moncayo <dmoncayo@gmail.com> writes:

Hi Dani,

time passes, and the problem is still unresolved.

>> I'm using a trunk build, on a Windows 7 Home Premium SP1 64-bit, and
>> it works.
> FWIW, I have Windows 7 Ultimate 32-bit.

I've tried to reproduce it on a Windows 7 Enterprise 64-bit
machine. Using Emacs 25.1.

>> Apparently the difference between your log and mine is the
>> use of passive mode.
> Well, I don't know the reason for that difference. I've not tweaked
> anything in Emacs nor Windows.

Your example ftp.mozilla.org is unresponsive. So I've tried to open

<PATH-TO-EMACS>\emacs.exe -Q /ftp:ftp@ftp.gnu.org:/README

It works. There is no special ftp client on this machine, just the
default MS ftp client 6.1.7601.17514 (still not able to run passive
mode). And I run it from behind a NATed router.

So I don't know what else I shall do in order to reproduce it. Could
you, pls, check with a recent Emacs whether you still experience
problems?

Best regards, Michael.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 24.0.50; Visit a remote file fails on windows
  2016-08-24 10:12       ` Michael Albinus
@ 2016-08-24 13:17         ` Dani Moncayo
  2016-08-24 13:47           ` Michael Albinus
  0 siblings, 1 reply; 14+ messages in thread
From: Dani Moncayo @ 2016-08-24 13:17 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 7034

Hi Michael,

> Your example ftp.mozilla.org is unresponsive. So I've tried to open
>
> <PATH-TO-EMACS>\emacs.exe -Q /ftp:ftp@ftp.gnu.org:/README
>
> It works. There is no special ftp client on this machine, just the
> default MS ftp client 6.1.7601.17514 (still not able to run passive
> mode). And I run it from behind a NATed router.
>
> So I don't know what else I shall do in order to reproduce it. Could
> you, pls, check with a recent Emacs whether you still experience
> problems?

I've just tried your same test, from an environment similar to yours:
  <PATH-TO-EMACS>\emacs.exe -Q /ftp:ftp@ftp.gnu.org:/README

and it works here too.

For the record, here I have Emacs 25.1 (compiled from the emacs-25
branch 4 days ago).

So I think you can close this bug.  I can close it too.  Should I?

Thank you.

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 24.0.50; Visit a remote file fails on windows
  2016-08-24 13:17         ` Dani Moncayo
@ 2016-08-24 13:47           ` Michael Albinus
  2016-08-24 15:34             ` Dani Moncayo
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Albinus @ 2016-08-24 13:47 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 7034

Dani Moncayo <dmoncayo@gmail.com> writes:

> Hi Michael,

Hi Dani,

> So I think you can close this bug.  I can close it too.  Should I?

Pls do.

> Thank you.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#7034: 24.0.50; Visit a remote file fails on windows
  2016-08-24 13:47           ` Michael Albinus
@ 2016-08-24 15:34             ` Dani Moncayo
  0 siblings, 0 replies; 14+ messages in thread
From: Dani Moncayo @ 2016-08-24 15:34 UTC (permalink / raw)
  To: 7034-done

>> So I think you can close this bug.  I can close it too.  Should I?
>
> Pls do.

Done.  Thanks

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-08-24 15:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-14 18:57 bug#7034: 23.2; Open remote files (via FTP) fails on (my) Windows XP port Dani Moncayo
2010-09-14 20:20 ` Eli Zaretskii
2010-09-14 21:25   ` Dani Moncayo
2010-09-14 23:11     ` Jason Rumney
2010-09-14 23:10 ` Jason Rumney
2010-09-16  6:09   ` Dani Moncayo
2010-09-16  6:50     ` Eli Zaretskii
2011-06-01 18:28 ` bug#7034: 24.0.50; Visit a remote file fails on windows Dani Moncayo
2011-06-01 23:54   ` Juanma Barranquero
2011-06-02 18:00     ` Dani Moncayo
2016-08-24 10:12       ` Michael Albinus
2016-08-24 13:17         ` Dani Moncayo
2016-08-24 13:47           ` Michael Albinus
2016-08-24 15:34             ` Dani Moncayo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).