sshfs instead of ftp
Got an ssh account on a machine? Don’t waste time retrieving a file, editing it, and uploading it manually.
sshfs user@target:/directory /mnt/point
You can then edit the file locally and, when saved, will do so across the ssh pipe.