I connect to a remote webserver from my home machine using FTP. However, if I don't do anything in FTP for a minute or two, the remote server closes the connection. Consequently, I have to do some stuff in my ftp prompt, like ls
or cd
ing a few times to prevent the connection from being closed.
I don't have administrative access to the remote server, so I can't change the FTP settings.
Here's my question: is there anything I can do to keep the FTP connection alive automatically? Is there a command, a script, etc.?