brackets-ftp-sync
brackets-ftp-sync copied to clipboard
Improve performance over very large filesets
FTP-Sync performs a directory walk and a diff on each file with it's remote counterpart. For projects containing hundreds of files, implement means in which the time taken can be reduced.
Not only that; changing a : into ; in an open file doesn't result in a upload as the file size is the same.
Maybee open files should always be uploaded?
Yes, as you say, this is because the file sizes are being compared. A workaround is to just add an extra space.
Ensuring all open files (i.e. all files in the brackets 'working files' area) are synced is a very good idea.
Maybe add some checksum too? A simple quick CRC32 on each file. I don't know how it would scale up to a few hundreds files, but it may be worth trying/thinking about it.
What about a simple button "Upload just this file" ...
Actually I think by skipping the directories like ".meteor" and "node_modules" and such things will be a lot better.
And if the files modification date is taken into consideration perhaps the checksum can be omitted ...
The current (lack of) speed of the "sync" for me is a show stopper (I have the paid version ...).