help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange tramp behaviour when using a mobile access point


From: tomas
Subject: Re: Strange tramp behaviour when using a mobile access point
Date: Mon, 21 Nov 2016 21:20:32 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Nov 21, 2016 at 06:02:45PM +0100, Julien Cubizolles wrote:
> I'm using tramp to connect to a ftp server (ftpperso.free.fr). It works
> fine from my home computer, using through a landline.
> 
> When commuting by train, I have:
> * my mobile phone (Android) providing a wifi access point
> * my laptop using this wifi connection
> I can access then access the ftp server in a web browser but tramp gives
> me a never ending list of:
> 
> Opening FTP connection to ftpperso.free.fr...done
> Logging in as user mylogin@ftpperso.free.fr...done
> Getting PWD...done
> Doing CD...done
> Listing /ftp:ftpperso.free.fr:/... [2 times]
> Opening FTP connection to ftpperso.free.fr...done
> Logging in as user mylogin@ftpperso.free.fr...done
> Getting PWD...done
> Doing CD...done
> 
> and never connects.

It looks as if the data connection from ftp isn't coming back (by default,
ftp opens a second connection to transfer the data to you, that would be
the case for the results of the `ls' command). This can happen if you are
behind an NAT: unless the NAT takes special measures, the connection
request will end up nowhere.

Try setting the variable `ange-ftp-try-passive-mode' to t (you can set
this variable through `configure'. Perhaps it helps.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgzVxAACgkQBcgs9XrR2kbOawCeOhQekb+Wju7cl+TuM/UJZf8t
3dMAn0/7yfz6Llxf1TA7KIGWT7yz+eFq
=vJ2z
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]