Edit directly via FTP with Sublime Text

Asked

Viewed 11,030 times

9

I want to work via FTP with Sublime Text 2. I don’t just want to connect via FTP and transfer files, but rather, edit the file, and when saving it, it sends directly to the server, via FTP. So, as it is done in Komodo. This is possible?

4 answers

10


This feature is not available on core Sublime Text, but it is possible with plugins. A Google search found two among the first results:

  • Excuse the layman’s question. But is SFTP necessary? Ftpsync requires installation of SFTP?

  • 1

    @Felipestoker I’ve never actually used these plugins. But if you don’t need SFTP (which is like FTP, but by SSH), the first option should serve.

5

Man, I usually use the Filezilla as Client for FTP, and I have configured Sublime as the default editor for it...and when I edit from the server files, saving Filezilla already asks if I want to send to the server again with the changes.

inserir a descrição da imagem aqui

After saving:

inserir a descrição da imagem aqui

  • This works to edit an individual file, but if you want to work with a project, it doesn’t (for example, you can’t open a file with CTRL+T).

  • Thank you friend. But, I would like to edit directly on the server, so I saw it is not as simple as it looks, well it could be equal to Komodo, just install a plugin and period.

  • This scheme is good, but only for specific issues. But I think the answer is valid as an alternative to specific cases.

2

If you still search for it, both in SFTP and Ftpsync, you can do it by changing the line " 'upload_on_save': false " to " 'upload_on_save': true" in the plugin’s own settings file, where you provide the host, user and pass. This way when saving the file the plugin automatically uploads. Vlw Flw

0

I have tried to do this too, in which life of programmer, that same challenges every day, a lightweight program that does this is cute ftp.

  • 1

    This answer is somewhat incomplete and strange (as if translated into Portuguese by an online translator).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.