it works the other way around, you mount a remote directory and you can edit any file with the editor you want.
Or you can use MC (midnight commander), which can use a remote ftp dir.
and you can use google to find a lot of other ways, like this:
https://stackoverflow.com/questions/...keep-alive-ftp