1. To upload and remove remote file via ftp you can use ftplib
2. To check if file is already exists:
sublime_plugin.EventListener -> on_load(view)
3. To create nef file:
sublime_plugin.WindowCommand -> new_file()
4. And you can assign created command through ".sublime-keymap" settings file.
5. So you just have to mix it all together.