L
L
lazychaser2012-08-24 07:37:22
FTP
lazychaser, 2012-08-24 07:37:22

Publishing a site via FTP?

At the moment I'm using Sublime Text 2 to write the code. This is a great editor, and most of all I like that it is so "smooth" - nothing slows down and you can work comfortably. Before that, I used WebMatrix, which had an important feature - the publication of the site. The program tracked the last modified files and sent them via FTP. However, this sometimes happened unreasonably slowly (some terribly long connections to the server), and in general, small jambs of the program prompted me to change it.

At the moment, when publishing a site, I either manually send each changed file to the server, or use FileZilla, which can only send changed files. However, it still iterates through all the files on the server and compares, so it takes a long time.

The question is: do you know of any plugin for Sublime Text that would allow you to track changes in files and send them to the server? Most likely you know about some stand-alone software that can perform this function (purely client-side, so version control systems will not work)?

I also heard about PHP Storm, and it seems to be a great thing, but the transition to it is not yet possible.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
G
Gleb Starkov, 2012-08-24
@colonel

Publishing via ftp is evil.
You need to use vcs (git, svn, etc)

B
balloon, 2012-08-24
@balloon

Once upon a time, I also uploaded project files via ftp (before svn, git). In order to speed up this process, I had two php files. I have one that ziped the project, one on the server that unpacked it. It worked faster than downloading by single files + there was always a certainty that all updates were uploaded.

S
Sergey Savostin, 2012-08-24
@savostin

WinSCP -> Commands -> Keep remote directory up to date
At the same time, sftp can also come in handy (which, by the way, is much better than ftp).

S
sumnix, 2012-08-24
@sumnix

I once tried synchronizers for mirroring the local version, such as SyncBack (there is a fast backup without checking the remote version, there is a scheduler and a bunch of settings) and FTPbox (it works very simply, like a dropbox).

S
safright, 2012-09-07
@safright

The plugin is called FTPSync. For correct operation, it will be enough to create a settings file and, if it is not necessary to send it on save, do not forget to set false in the corresponding parameter. After that, you can send through the menu (RMB on the project folder in the sublime).
In addition, if you work with the site locally and publishing is required, I recommend looking at similar services . There you can link the publication to the repository and set it up for deployment by commit or manually. Very comfortably.

G
gaelpa, 2012-08-24
@gaelpa

If you have ssh, rsync on the other side, you can look at realsync .
This is not a production deployment tool, but judging by your question, you need exactly the synchronization of the dev version.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question