If you were to use the Script Editor you would still have to import, edit, then export the file.
I would recommend you download the Komodo Editor from Active State. It will allow you to edit via FTP but it will take care of the import/export so when you save the file it is saved on the server
There are others but Komodo is designed as a Tcl Editor