For any web project any changes to be done after uploading the file what we usually do is “We download the file, make the changes and again upload it” if problem still exists “We repeat the same process”. I too came across certain situation many times.
I found solution, I created a basic file editor which has one textarea in which entire content of the file is loaded. You make changes and save it.
Yes, ofcourse for the major changes I still need to download the file but still good to make some small changes. I save a lot of with this basic file editor.
(Not to mention control panel was not there on the server, which allows such basic editor for file editing.)