Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using emacs with TRAMP ( C-x C-f /ftp:user@site.com:/ ), and randomly, sometimes ten minutes, sometimes, ~12 seconds (no exaggerating) my connection will close (I think). I'll try to type, or list a dir, and it will say "Opening FTP connection to site.com...". Is there a way to tell it to just keep the connection open until I exit? Or is it the webserver killing the connection? I'm just using standard FTP.

Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

To test, try using FTP by hand. FTP to your site on the command line, do a few things, then wait about 30 seconds or so, and see if it disconnects you. I remember one webhosting firm timed me out very fast.

As to tramp, the only thing I can see is the user option tramp-completion-reread-directory-timeout. Maybe it wonders if someone else changed the directory and rereads it to be sure.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.