Upload from Text Editor Tab

When you have a file open in the text editor, the Upload button is disabled. I'd like to have the Upload button enabled, so I can upload the file that's currently open in the text editor. Same thing with download. If you have a text editor file open, you should be able to download a file from the server and overwrite the currently opened file.